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
8
extern
"C"
{
9
#endif
10
11
typedef
struct
MR_Box2f
MR_Box2f
;
// Defined in `#include <MRCMesh/MRBox.h>`.
12
typedef
struct
MR_Line2f
MR_Line2f
;
// Defined in `#include <MRCMesh/MRLine.h>`.
13
14
18
MRC_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
MR_Line2f
struct MR_Line2f MR_Line2f
Definition
MRLine.h:16
MR_rayBoxIntersect_MR_Box2f
MRC_API bool MR_rayBoxIntersect_MR_Box2f(const MR_Box2f *box, const MR_Line2f *line, float t0, float t1)
exports.h
MRC_API
#define MRC_API
Definition
exports.h:11
MR_Box2f
Definition
MRBox.h:77
MeshLib
Cbindings
MRCMesh
MRRayBoxIntersection2.h
Generated by
1.11.0