★ PROGRAMMER'S GUIDE ★ Mathematical calculation libraryList | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
matrixTbl | : Matrix table |
stackSize | : Maximum number of entries in the matrix stack |
matrix | : Matrix stack area |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
matrixTbl | : Matrix table |
x | : Movement amount in the X direction |
y | : Amount of movement in the Y direction |
z | : Movement amount in Z direction |
List | Title | Function | Function Name | No |
matrixTbl | : Matrix table |
xDegree | : X-axis rotation angle (range -180 to 180) |
List | Title | Function | Function Name | No |
matrixTbl | : Matrix table |
yDegree | : Y-axis rotation angle (range -180 to 180) |
List | Title | Function | Function Name | No |
matrixTbl | : Matrix table |
zDegree | : Z-axis rotation angle (range -180 to 180) |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
a | : Multiplicand matrix |
b | : Multiplier matrix |
List | Title | Function | Function Name | No |
matrix | : Conversion matrix |
src | : Pre-conversion vertex coordinates |
List | Title | Function | Function Name | No |
matrix | : Conversion Matrick |
src | : Pre-conversion normal vector |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
surfBright | Luminance calculation result of polygon surface |
transViewVertAns | Vertex data after viewpoint coordinate conversion |
vertBright | Vertex brightness calculation result |
transWorldVertAns | Vertex data after world coordinate conversion |
-Related parameter items-
<Input> surfCount Number of polygon faces surfPoint Representative point table of polygon faces for face brightness calculation surfNormal Polygon face normal table matrix Conversion matrix to viewpoint coordinate system lightVector Light source vector in viewpoint coordinate system <Output> surfBright Polygon face brightness Calculation result table bit31 bit0
o ... .... .... .... .... .... ... o oooo
| | ||||
| +-++++ ---- Brightness
0x00: Darkest | 0x1f: Brightest + --------- 1: Hidden surface 0: Display surface-Related parameter items- <Input> transViewVertCount Number of vertex entries for viewpoint coordinate conversion transViewVertSrc Perm data table before viewpoint coordinate conversion viewMatrix Conversion matrix to viewpoint coordinate system <Output> transViewVertAns Vertex data table after viewpoint coordinate conversion
-Related parameter items- <Input> gourVertCount When the number of vertex entries in the vertex brightness calculation is 0, the vertex brightness is not calculated. VertNormal Vertex normal table matrix for vertex brightness calculation Conversion matrix to the viewpoint coordinate system lightVector Light source vector in the viewpoint coordinate system < Output> vertBright Vertex brightness calculation result table 0x00 = darkest 0x1f = brightest
-Related parameter items- <Input> transWorldVertCount When the number of vertex entries for world coordinate conversion = 0, the world coordinate system of the vertices is not converted. Coordinate data table
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
p3d | : Viewpoint coordinate system 3D vertex coordinates |
unitPixel | : Number of pixels per unit of screen XY |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
WORK_AREA | : Work area name |
POINT_MAX | : Maximum number of input points |
List | Title | Function | Function Name | No |
work | : Work area pointer |
in_aray | : Input coordinate array |
in_n | : Number of input coordinates |
out_n | : Number of output coordinates |
List | Title | Function | Function Name | No |
work | : Work area pointer |
in_aray | : Input coordinate array |
in_n | : Number of input coordinates |
out_n | : Number of output coordinates |
out_aray | : Output coordinate array |
tan_aray | : Tangent vector of each output coordinate |
List | Title | Function | Function Name | No |
work | : Work area pointer |
in_aray | : Input coordinate array |
in_n | : Number of input coordinates |
out_n | : Number of output coordinates |
List | Title | Function | Function Name | No |
work: Work area pointer in_aray: Input coordinate array in_n: Number of input coordinates out_n: Number of output coordinates
out_aray | : Output coordinate array |
tan_aray | : Tangent vector of each output coordinate |
Precautions for useList | Title | Function | Function Name | No |
a | :multiplicand |
b | :multiplier |
List | Title | Function | Function Name | No |
a | :dividend |
b | :divisor |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
a | : 3 multiplicand data strings |
b | : 3 multiplier data strings |
List | Title | Function | Function Name | No |
List | Title | Function | Function Name | No |
x | : Horizontal side of a right triangle |
y | : Vertical side of a right triangle |
List | Title | Function | Function Name | No |
surfNormK | : Correction value of distance between vertices |
p0 | : Coordinates of the first clockwise rotation on the surface |
p1 | : Coordinates of the second clockwise rotation on the surface |
p2 | : Coordinates of the third clockwise rotation on the surface |
★ PROGRAMMER'S GUIDE ★ Mathematical calculation library