Refactor, separate docs from headers, add ru docs
Doxygen kind'a sucks and I need multilanguage documentation, so I did that. Also, separated massive Math.h file into smaller files.
This commit is contained in:
58
include/BH/Math/Ray3f.h
Normal file
58
include/BH/Math/Ray3f.h
Normal file
@@ -0,0 +1,58 @@
|
||||
#ifndef BH_MATH_RAY3F_H
|
||||
#define BH_MATH_RAY3F_H
|
||||
|
||||
#include "../Common.h"
|
||||
|
||||
|
||||
int BH_Ray3fIntersectPlane(const float start[3],
|
||||
const float direction[3],
|
||||
const float plane[4],
|
||||
float *t,
|
||||
float out[3]);
|
||||
|
||||
|
||||
|
||||
int BH_Ray3fIntersectTriangle(const float start[3],
|
||||
const float direction[3],
|
||||
const float a[3],
|
||||
const float b[3],
|
||||
const float c[3],
|
||||
float *t,
|
||||
float out[3]);
|
||||
|
||||
|
||||
|
||||
int BH_Segment3fIntersectPlane(const float start[3],
|
||||
const float end[3],
|
||||
const float plane[4],
|
||||
float *t,
|
||||
float out[3]);
|
||||
|
||||
|
||||
|
||||
int BH_Segment3fIntersectTriangle(const float start[3],
|
||||
const float end[3],
|
||||
const float a[3],
|
||||
const float b[3],
|
||||
const float c[3],
|
||||
float *t,
|
||||
float out[3]);
|
||||
|
||||
|
||||
int BH_Ray3fIntersectBox3f(const float aStart[3],
|
||||
const float aDirection[3],
|
||||
const float bMin[3],
|
||||
const float bMax[3],
|
||||
float *t,
|
||||
float out[3]);
|
||||
|
||||
|
||||
|
||||
int BH_Segment3fIntersectBox3f(const float aStart[3],
|
||||
const float aEnd[3],
|
||||
const float bMin[3],
|
||||
const float bMax[3],
|
||||
float *t,
|
||||
float out[3]);
|
||||
|
||||
#endif /* BH_MATH_RAY3F_H */
|
||||
Reference in New Issue
Block a user