8 #ifndef __EIGEN3_MATRIX_C_API_CC__
9 #define __EIGEN3_MATRIX_C_API_CC__
12 #if defined(__GNUC__) && !defined(__clang__)
13 # pragma GCC diagnostic ignored "-Wlogical-op"
16 #ifdef __EIGEN3_MATRIX_C_API_CC__
20 #include <Eigen/Dense>
25 using Eigen::Matrix4f;
29 Map<Matrix4f>
M = Map<Matrix4f>((
float *)matrix);
31 bool invertible =
true;
32 M.computeInverseWithCheck(
R, invertible, 0.0f);
36 memcpy(
inverse,
R.data(),
sizeof(
float) * 4 * 4);
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Map
btMatrix3x3 inverse() const
Return the inverse of the matrix.
bool EIG_invert_m4_m4(float inverse[4][4], const float matrix[4][4])