From 61679a4bbc1c240a271d53cad54c635e83c466b0 Mon Sep 17 00:00:00 2001 From: - <-> Date: Mon, 15 Jan 2018 13:59:51 +0100 Subject: Review releases, removed external dependencies Not required any more! --- release/libs/android/armeabi-v7a/libraylib.a | Bin 760182 -> 858612 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'release/libs/android/armeabi-v7a/libraylib.a') diff --git a/release/libs/android/armeabi-v7a/libraylib.a b/release/libs/android/armeabi-v7a/libraylib.a index 4802cda0..b10e6b68 100644 Binary files a/release/libs/android/armeabi-v7a/libraylib.a and b/release/libs/android/armeabi-v7a/libraylib.a differ -- cgit v1.2.3 From 6985953e3d620019721c2286d05858614cf9f9c6 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Mon, 2 Apr 2018 14:50:16 +0200 Subject: Update release to latest raylib version Note that only some lib versions have been updated --- release/include/raylib.h | 13 ++++++++++--- release/libs/android/armeabi-v7a/libraylib.a | Bin 858612 -> 883994 bytes release/libs/win32/mingw32/libraylib.a | Bin 1092978 -> 1056510 bytes release/libs/win32/mingw32/libraylibdll.a | Bin 293464 -> 205620 bytes release/libs/win32/mingw32/raylib.dll | Bin 1552376 -> 1007187 bytes release/libs/win32/msvc/raylib.lib | Bin 2589838 -> 2437648 bytes 6 files changed, 10 insertions(+), 3 deletions(-) (limited to 'release/libs/android/armeabi-v7a/libraylib.a') diff --git a/release/include/raylib.h b/release/include/raylib.h index c94f4477..acca46bd 100644 --- a/release/include/raylib.h +++ b/release/include/raylib.h @@ -398,12 +398,19 @@ typedef struct SpriteFont { CharInfo *chars; // Characters info data } SpriteFont; +// Camera projection modes +typedef enum { + CAMERA_PERSPECTIVE = 0, + CAMERA_ORTHOGRAPHIC +} CameraType; + // Camera type, defines a camera position/orientation in 3d space typedef struct Camera { Vector3 position; // Camera position Vector3 target; // Camera target it looks-at Vector3 up; // Camera up vector (rotation over its axis) - float fovy; // Camera field-of-view apperture in Y (degrees) + float fovy; // Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic + CameraType type; // Camera type, controlling projection type, either CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC. } Camera; // Camera2D type, defines a 2d camera @@ -692,7 +699,7 @@ extern "C" { // Prevents name mangling of functions //------------------------------------------------------------------------------------ // Window-related functions -RLAPI void InitWindow(int width, int height, void *data); // Initialize window and OpenGL context +RLAPI void InitWindow(int width, int height, const char *title); // Initialize window and OpenGL context RLAPI void CloseWindow(void); // Close window and unload OpenGL context RLAPI bool IsWindowReady(void); // Check if window has been initialized successfully RLAPI bool WindowShouldClose(void); // Check if KEY_ESCAPE pressed or Close icon pressed @@ -726,7 +733,7 @@ RLAPI void BeginTextureMode(RenderTexture2D target); // Initializes RLAPI void EndTextureMode(void); // Ends drawing to render texture // Screen-space-related functions -RLAPI Ray GetMouseRay(Vector2 mousePosition, Camera camera); // Returns a ray trace from mouse position +RLAPI Ray GetMouseRay(Vector2 mousePosition, Camera camera); // Returns a ray trace from mouse position RLAPI Vector2 GetWorldToScreen(Vector3 position, Camera camera); // Returns the screen space position for a 3d world space position RLAPI Matrix GetCameraMatrix(Camera camera); // Returns camera transform matrix (view matrix) diff --git a/release/libs/android/armeabi-v7a/libraylib.a b/release/libs/android/armeabi-v7a/libraylib.a index b10e6b68..1e6a0088 100644 Binary files a/release/libs/android/armeabi-v7a/libraylib.a and b/release/libs/android/armeabi-v7a/libraylib.a differ diff --git a/release/libs/win32/mingw32/libraylib.a b/release/libs/win32/mingw32/libraylib.a index e015495a..361aa73c 100644 Binary files a/release/libs/win32/mingw32/libraylib.a and b/release/libs/win32/mingw32/libraylib.a differ diff --git a/release/libs/win32/mingw32/libraylibdll.a b/release/libs/win32/mingw32/libraylibdll.a index 7d910eeb..b4f1cb6b 100644 Binary files a/release/libs/win32/mingw32/libraylibdll.a and b/release/libs/win32/mingw32/libraylibdll.a differ diff --git a/release/libs/win32/mingw32/raylib.dll b/release/libs/win32/mingw32/raylib.dll index c5387654..54d086ac 100644 Binary files a/release/libs/win32/mingw32/raylib.dll and b/release/libs/win32/mingw32/raylib.dll differ diff --git a/release/libs/win32/msvc/raylib.lib b/release/libs/win32/msvc/raylib.lib index 6983d9a8..45172565 100644 Binary files a/release/libs/win32/msvc/raylib.lib and b/release/libs/win32/msvc/raylib.lib differ -- cgit v1.2.3