Lines Matching refs:HFW
28 #define HFW 40 // height-field width macro
50 coord height[HFH][HFW]; // height field coordinates
66 void adjustPoint(coord height[HFH][HFW], u16 r, u16 c, f32 h);
113 void adjustPoint(coord height[HFH][HFW], u16 r, u16 c, f32 h) in adjustPoint() argument
141 for(c=0; c<HFW; c++) in createHeightField()
143 height[r][c].x = (f32) c - HFW/2.0f; in createHeightField()
160 for(c=1; c<HFW; c++) in createHeightField()
169 for(c=1; c<HFW; c++) in createHeightField()
180 for(c=0; c<HFW; c++) in createHeightField()
186 else if (c < HFW-1) in createHeightField()
494 GXBegin(GX_TRIANGLESTRIP, GX_VTXFMT0, HFW*2 ); in drawHeightField()
496 for(c=0; c<HFW; c++) in drawHeightField()