MeshLib
 
Loading...
Searching...
No Matches
MRMeshC/MRMatrix3.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRVector3.h"
5
7
15
18
21
24
27
MRMESHC_API MRMatrix3f mrMatrix3fRotationVector(const MRVector3f *from, const MRVector3f *to)
creates a matrix representing rotation that after application to (from) makes (to) vector
MRMESHC_API MRMatrix3f mrMatrix3fRotationScalar(const MRVector3f *axis, float angle)
creates a matrix representing rotation around given axis on given angle
MRMESHC_API MRMatrix3f mrMatrix3fMul(const MRMatrix3f *a, const MRMatrix3f *b)
multiplies two matrices
MR_EXTERN_C_BEGIN struct MRMatrix3f MRMatrix3f
arbitrary row-major 3x3 matrix
MRMESHC_API MRMatrix3f mrMatrix3fIdentity(void)
initializes an identity matrix
#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
angle
Definition MRObjectDimensionsEnum.h:13
arbitrary row-major 3x3 matrix
Definition MRMeshC/MRMatrix3.h:10
MRVector3f z
Definition MRMeshC/MRMatrix3.h:13
MRVector3f x
Definition MRMeshC/MRMatrix3.h:11
MRVector3f y
Definition MRMeshC/MRMatrix3.h:12
three-dimensional vector
Definition MRMeshC/MRVector3.h:9