Skip to content

Commit cd28769

Browse files
committed
Add small textures coordinates fix.
1 parent b57b95c commit cd28769

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OpenRocket/OpenRocket/Game.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ void Game::CreateAsteroidBuffers() {
433433
Vertices[9 * k + 5] = 0.0f;
434434
Vertices[9 * k + 6] = 0.0f;
435435

436-
Vertices[9 * k + 7] = (sin(theta) + 1) / 2;
437-
Vertices[9 * k + 8] = (cos(theta) + 1)/ 2;
436+
Vertices[9 * k + 7] = (cos(theta) + 1) / 2;
437+
Vertices[9 * k + 8] = (sin(theta) + 1)/ 2;
438438
}
439439

440440
glGenVertexArrays(1, &asteroidVao);

0 commit comments

Comments
 (0)