#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
MRMESHC_API MRVector3f mrVector3fDiagonal(float a)
(a, a, a)
MRMESHC_API MRVector3f mrVector3fAdd(const MRVector3f *a, const MRVector3f *b)
adds two vectors
MRMESHC_API MRVector3f mrVector3fSub(const MRVector3f *a, const MRVector3f *b)
MRMESHC_API float mrVector3fLengthSq(const MRVector3f *v)
squared length of the vector
MRMESHC_API float mrVector3fLength(const MRVector3f *v)
length of the vector
MRMESHC_API MRVector3f mrVector3fPlusZ(void)
(0, 0, 1)
MRMESHC_API MRVector3f mrVector3fPlusX(void)
(1, 0, 0)
MRMESHC_API MRVector3f mrVector3fPlusY(void)
(0, 1, 0)
MRMESHC_API MRVector3f mrVector3fMulScalar(const MRVector3f *a, float b)
multiplies a vector by a scalar value
MRVector3f MRTriangle3f[3]
a set of 3 vectors; useful for representing a face via its vertex coordinates
Definition MRMeshC/MRVector3.h:42
MR_EXTERN_C_BEGIN struct MRVector3f MRVector3f
three-dimensional vector
three-dimensional vector
Definition MRMeshC/MRVector3.h:9
float y
Definition MRMeshC/MRVector3.h:11
float x
Definition MRMeshC/MRVector3.h:10
float z
Definition MRMeshC/MRVector3.h:12