Moving some code around

This commit is contained in:
2021-08-23 09:41:36 -07:00
parent 0cd19e7b7c
commit d9f11c764e
5 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;