Moving some code around

This commit is contained in:
2021-08-23 09:41:36 -07:00
parent a65ae99840
commit a90dc1fc3a
6 changed files with 11 additions and 16 deletions

View File

@ -33,7 +33,7 @@ void skywallInit(primitive_t *primitive) {
// Determine the X/Z for the given radian
x = SKYWALL_SIZE * (float)cos(r);
z = SKYWALL_SIZE * (float)sin(r);
y = SKYWALL_SIZE * 1.333f;
y = SKYWALL_SIZE * 1;
// Get the start index for the ertices
n = i * SKYWALL_VERTICES_PER_SLICE;