MeshLib C Docs
Loading...
Searching...
No Matches
MRRayBoxIntersection2.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_Box2f MR_Box2f; // Defined in `#include <MRCMesh/MRBox.h>`.
12typedef struct MR_Line2f MR_Line2f; // Defined in `#include <MRCMesh/MRLine.h>`.
13
14
18MRC_API bool MR_rayBoxIntersect_MR_Box2f(const MR_Box2f *box, const MR_Line2f *line, float t0, float t1);
19
20#ifdef __cplusplus
21} // extern "C"
22#endif
struct MR_Line2f MR_Line2f
Definition MRLine.h:16
MRC_API bool MR_rayBoxIntersect_MR_Box2f(const MR_Box2f *box, const MR_Line2f *line, float t0, float t1)
#define MRC_API
Definition exports.h:11
Definition MRBox.h:77