Title |
Data B> |
Data Name |
No |
typedef struct MthPolyTransParm {
MthViewLight * viewLight; / * Coordinate system conversion parameter * /
Uint32 surfCount; / * Number of polygon faces * /
MthXyz * surfPoint; / * Representative point of polygon surface for surface brightness calculation * /
MthXyz * surfNormal; / * Normal of polygonal surface * /
Sint32 * surfBright; / * Brightness calculation result of polygon surface * /
Uint32 transViewVertCount; / * Number of vertex entries for viewpoint coordinate transformation * /
MthXyz * transViewVertSrc; / * Vertex data before viewpoint coordinate conversion * /
MthXyz * transViewVertAns; / * Vertex data after viewpoint coordinate conversion * /
Uint32 gourVertCount; / * Number of vertex entries for vertex luminance calculation * /
MthXyz * vertNormal; / * Vertex normal for vertex luminance calculation * /
Sint32 * vertBright; / * Vertex brightness calculation result * /
Uint32 transWorldVertCount; / * Number of vertex entries for world coordinate transformation * /
MthXyz * transWorldVertSrc; / * Vertex data before world coordinate conversion * /
MthXyz * transWorldVertAns; / * Vertex data after world coordinate transformation * /
} MthPolyTransParm;
Title |
Data B> |
Data Name |
No |
typedef struct MthViewLight {
MthMatrix viewMatrix; / * Matrix for conversion to viewpoint coordinate system * /
MthXyz lightVector; / * Light source vector in the viewpoint coordinate system * /
MthMatrix worldMatrix; / * Transformation matrix to world coordinate system * /
} MthViewLight;