From 1ab9722875c543e8fd1b6600fd16e51412181641 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 23 Nov 2023 00:00:49 +0200 Subject: Support for different platforms. Platform_desktop_sdl. --- src/rmath.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/rmath.c') diff --git a/src/rmath.c b/src/rmath.c index 8dd9905..23a93bf 100644 --- a/src/rmath.c +++ b/src/rmath.c @@ -293,7 +293,8 @@ int lmathVector2DistanceSqr( lua_State *L ) { /* > result = RL.Vector2Angle( Vector2 v1, Vector2 v2 ) -Calculate angle from two vectors +Calculate angle between two vectors +NOTE: Angle is calculated from origin point (0, 0) - Success return float */ @@ -309,9 +310,9 @@ int lmathVector2Angle( lua_State *L ) { /* > result = RL.Vector2LineAngle( Vector2 a, Vector2 b ) -Calculate angle defined by a two vectors line. -NOTE: Parameters need to be normalized. -Current implementation should be aligned with glm::angle. +Calculate angle defined by a two vectors line +NOTE: Parameters need to be normalized +Current implementation should be aligned with glm::angle - Success return float */ -- cgit v1.2.3