summaryrefslogtreecommitdiff
path: root/src/rmath.c
diff options
context:
space:
mode:
authorjussi2023-11-23 00:00:49 +0200
committerjussi2023-11-23 00:00:49 +0200
commit1ab9722875c543e8fd1b6600fd16e51412181641 (patch)
tree412a3b0d139daa8832217e9e4240bd1cd299d4c5 /src/rmath.c
parent85a48cf09302a2a14aeeb2d6cf3b8fcc1607e222 (diff)
downloadreilua-enhanced-1ab9722875c543e8fd1b6600fd16e51412181641.tar.gz
reilua-enhanced-1ab9722875c543e8fd1b6600fd16e51412181641.tar.bz2
reilua-enhanced-1ab9722875c543e8fd1b6600fd16e51412181641.zip
Support for different platforms. Platform_desktop_sdl.
Diffstat (limited to 'src/rmath.c')
-rw-r--r--src/rmath.c9
1 files changed, 5 insertions, 4 deletions
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
*/