Lines Matching refs:xx
84 int xx, yy; in rt_heightfield() local
93 for (xx = 0; xx < (m - 1); xx++) { in rt_heightfield()
94 v0.x = wx * (xx) / (m * 1.0) + xoff; in rt_heightfield()
95 v0.y = field[(yy)*m + (xx)] + zoff; in rt_heightfield()
98 v1.x = wx * (xx + 1) / (m * 1.0) + xoff; in rt_heightfield()
99 v1.y = field[(yy)*m + (xx + 1)] + zoff; in rt_heightfield()
102 v2.x = wx * (xx + 1) / (m * 1.0) + xoff; in rt_heightfield()
103 v2.y = field[(yy + 1) * m + (xx + 1)] + zoff; in rt_heightfield()
108 v0.x = wx * (xx) / (m * 1.0) + xoff; in rt_heightfield()
109 v0.y = field[(yy)*m + (xx)] + zoff; in rt_heightfield()
112 v1.x = wx * (xx) / (m * 1.0) + xoff; in rt_heightfield()
113 v1.y = field[(yy + 1) * m + (xx)] + zoff; in rt_heightfield()
116 v2.x = wx * (xx + 1) / (m * 1.0) + xoff; in rt_heightfield()
117 v2.y = field[(yy + 1) * m + (xx + 1)] + zoff; in rt_heightfield()