aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-07-18 12:56:36 +0200
committerraysan5 <raysan5@gmail.com>2016-07-18 12:56:36 +0200
commit455380d4132403038cf56db6f156e6b3de8122c8 (patch)
tree3036493cb62deb26005d36a55d403a20de162532
parent84975b9ab98eae20120c96b30b9c4f5635505369 (diff)
downloadraylib-455380d4132403038cf56db6f156e6b3de8122c8.tar.gz
raylib-455380d4132403038cf56db6f156e6b3de8122c8.zip
Comments tweaks
-rw-r--r--cheatsheet/raylib_core.c6
-rw-r--r--cheatsheet/raylib_shaders.c4
2 files changed, 3 insertions, 7 deletions
diff --git a/cheatsheet/raylib_core.c b/cheatsheet/raylib_core.c
index ace8b9df..18d9a9df 100644
--- a/cheatsheet/raylib_core.c
+++ b/cheatsheet/raylib_core.c
@@ -28,7 +28,7 @@
void EndTextureMode(void); // Ends drawing to render texture
Ray GetMouseRay(Vector2 mousePosition, Camera camera); // Returns a ray trace from mouse position
- Vector2 WorldToScreen(Vector3 position, Camera camera); // Returns the screen space position from a 3d world space position
+ Vector2 GetWorldToScreen(Vector3 position, Camera camera); // Returns the screen space position from a 3d world space position
Matrix GetCameraMatrix(Camera camera); // Returns camera transform matrix (view matrix)
// Timming-related functions
@@ -74,10 +74,6 @@
Vector2 GetMousePosition(void); // Returns mouse position XY
void SetMousePosition(Vector2 position); // Set mouse position XY
int GetMouseWheelMove(void); // Returns mouse wheel movement Y
-
- void ShowCursor(void); // Shows cursor
- void HideCursor(void); // Hides cursor
- bool IsCursorHidden(void); // Check if cursor is not visible
bool IsGamepadAvailable(int gamepad); // Detect if a gamepad is available
float GetGamepadAxisMovement(int gamepad, int axis); // Return axis movement value for a gamepad axis
diff --git a/cheatsheet/raylib_shaders.c b/cheatsheet/raylib_shaders.c
index ef1007e7..fd99ce8e 100644
--- a/cheatsheet/raylib_shaders.c
+++ b/cheatsheet/raylib_shaders.c
@@ -3,7 +3,7 @@
void UnloadShader(Shader shader); // Unload a custom shader from memory
Shader GetDefaultShader(void); // Get default shader
- Shader GetStandardShader(void); // Get default shader
+ Shader GetStandardShader(void); // Get standard shader
Texture2D GetDefaultTexture(void); // Get default texture
int GetShaderLocation(Shader shader, const char *uniformName); // Get shader uniform location
@@ -19,7 +19,7 @@
void BeginBlendMode(int mode); // Begin blending mode (alpha, additive, multiplied)
void EndBlendMode(void); // End blending mode (reset to default: alpha blending)
- void InitVrDevice(int hmdDevice); // Init VR device
+ void InitVrDevice(int vrDevice); // Init VR device
void CloseVrDevice(void); // Close VR device
void UpdateVrTracking(void); // Update VR tracking (position and orientation)
void BeginVrDrawing(void); // Begin VR drawing configuration