/* Set up basic data that needs to be in fixed point, to avoid data definition hassles. */ #include "polygon.h" /* Transformation from world space into view space (no transformation, currently) */ static int IntWorldViewXform[3][4] = { {1,0,0,0}, {0,1,0,0}, {0,0,1,0}}; void InitializeFixedPoint() { int i, j; for (i=0; i<3; i++) for (j=0; j<4; j++) WorldViewXform[i][j] = INT_TO_FIXED(IntWorldViewXform[i][j]); }