![]() |
Dem Bones
1.0
Skinning Decomposition Library
|
Defines some macros to access sub-blocks of packing transformation/position matrices for convenience. More...
Go to the source code of this file.
Macros | |
#define | blk4(k, j) template block<4, 4>((k)*4, (j)*4) |
A 4*4 sub-block that represents a transformation matrix, typically k denotes frame number and j denotes bone index. | |
#define | rotMat(k, j) template block<3, 3>((k)*4, (j)*4) |
The 3*3 rotation part or the transformation matrix blk4(k , j ) | |
#define | transVec(k, j) col((j)*4+3).template segment<3>((k)*4) |
The 3*1 translation vector part or the transformation matrix blk4(k , j ) | |
#define | vec3(k, i) col(i).template segment<3>((k)*3) |
A 3*1 sub-block that represents position of a vertex, typically k denotes frame number and i denotes vertex index. | |
Defines some macros to access sub-blocks of packing transformation/position matrices for convenience.
These definitions are not included by default although they are used in DemBones
and DemBonesExt
(they are undefined at the end of the files).