summaryrefslogtreecommitdiffstats
path: root/core/math/vector3.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-05-05 13:25:04 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-05-05 14:17:39 +0200
commite7a58a7eb6d45b530eeaea88cfa29adcd8df02f3 (patch)
tree7bdab2e625224871428f5f363146e674730adb59 /core/math/vector3.h
parentb05fbb21e5ea5852b36923e40228936f78a5723e (diff)
downloadredot-engine-e7a58a7eb6d45b530eeaea88cfa29adcd8df02f3.tar.gz
Core: Rename math 'phi' arguments to 'angle'
Diffstat (limited to 'core/math/vector3.h')
-rw-r--r--core/math/vector3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/vector3.h b/core/math/vector3.h
index b22ebeaf0a..8891532f42 100644
--- a/core/math/vector3.h
+++ b/core/math/vector3.h
@@ -97,8 +97,8 @@ struct _NO_DISCARD_ Vector3 {
void snap(const Vector3 p_val);
Vector3 snapped(const Vector3 p_val) const;
- void rotate(const Vector3 &p_axis, const real_t p_phi);
- Vector3 rotated(const Vector3 &p_axis, const real_t p_phi) const;
+ void rotate(const Vector3 &p_axis, const real_t p_angle);
+ Vector3 rotated(const Vector3 &p_axis, const real_t p_angle) const;
/* Static Methods between 2 vector3s */