|
@ -30,7 +30,7 @@ int main(void) |
|
|
const int screenWidth = 800; |
|
|
const int screenWidth = 800; |
|
|
const int screenHeight = 450; |
|
|
const int screenHeight = 450; |
|
|
|
|
|
|
|
|
InitWindow(screenWidth, screenHeight, "raylib [models] example - geometric shapes"); |
|
|
|
|
|
|
|
|
InitWindow(screenWidth, screenHeight, "raylib [models] example - orthographic projection"); |
|
|
|
|
|
|
|
|
// Define the camera to look into our 3d world |
|
|
// Define the camera to look into our 3d world |
|
|
Camera camera = { { 0.0f, 10.0f, 10.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f }, FOVY_PERSPECTIVE, CAMERA_PERSPECTIVE }; |
|
|
Camera camera = { { 0.0f, 10.0f, 10.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f }, FOVY_PERSPECTIVE, CAMERA_PERSPECTIVE }; |
|
|