Lines Matching refs:yy
84 int xx, yy; in rt_heightfield() local
92 for (yy = 0; yy < (n - 1); yy++) { in rt_heightfield()
95 v0.y = field[(yy)*m + (xx)] + zoff; in rt_heightfield()
96 v0.z = wy * (yy) / (n * 1.0) + yoff; in rt_heightfield()
99 v1.y = field[(yy)*m + (xx + 1)] + zoff; in rt_heightfield()
100 v1.z = wy * (yy) / (n * 1.0) + yoff; in rt_heightfield()
103 v2.y = field[(yy + 1) * m + (xx + 1)] + zoff; in rt_heightfield()
104 v2.z = wy * (yy + 1) / (n * 1.0) + yoff; in rt_heightfield()
109 v0.y = field[(yy)*m + (xx)] + zoff; in rt_heightfield()
110 v0.z = wy * (yy) / (n * 1.0) + yoff; in rt_heightfield()
113 v1.y = field[(yy + 1) * m + (xx)] + zoff; in rt_heightfield()
114 v1.z = wy * (yy + 1) / (n * 1.0) + yoff; in rt_heightfield()
117 v2.y = field[(yy + 1) * m + (xx + 1)] + zoff; in rt_heightfield()
118 v2.z = wy * (yy + 1) / (n * 1.0) + yoff; in rt_heightfield()