Minor code tweaks

This commit is contained in:
Ray 2017-04-04 12:16:13 +02:00
parent dd4dd0e87d
commit 1f56e8e5d0
2 changed files with 3 additions and 1 deletions

View file

@ -41,7 +41,7 @@ int main()
InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d camera free"); InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d camera free");
// Define the camera to look into our 3d world // Define the camera to look into our 3d world
camera.position = (Vector3){ 10.0f, 10.0f, 10.0f }; // Camera position camera.position = (Vector3){ 10.0f, 10.0f, 10.0f }; // Camera position
camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; // Camera looking at point camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; // Camera looking at point
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target) camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target)
camera.fovy = 45.0f; // Camera field-of-view Y camera.fovy = 45.0f; // Camera field-of-view Y

View file

@ -39,6 +39,8 @@
// Default supported features // Default supported features
//------------------------------------- //-------------------------------------
#define SUPPORT_DEFAULT_FONT #define SUPPORT_DEFAULT_FONT
#define SUPPORT_FILEFORMAT_FNT
#define SUPPORT_FILEFORMAT_TTF
//------------------------------------- //-------------------------------------
#include "raylib.h" #include "raylib.h"