Character is rendering in-game

This commit is contained in:
2021-08-22 23:30:53 -07:00
parent d95047398d
commit fefa044145
21 changed files with 286 additions and 163 deletions

View File

@ -28,6 +28,8 @@ void skywallInit(primitive_t *primitive) {
r = p * MATH_PI * 2.0f;// Convert % to radians
}
r += mathDeg2Rad(90);
// Determine the X/Z for the given radian
x = SKYWALL_SIZE * (float)cos(r);
z = SKYWALL_SIZE * (float)sin(r);