From 455380d4132403038cf56db6f156e6b3de8122c8 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Mon, 18 Jul 2016 12:56:36 +0200 Subject: Comments tweaks --- cheatsheet/raylib_core.c | 6 +----- cheatsheet/raylib_shaders.c | 4 ++-- 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 -- cgit v1.2.3