mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-23 08:39:49 -04:00
Angle Conversions (#1216)
* Angle Conversions * Format * namefixer * Renames in ObjHsStump_Appear * Format * once more * Explicit cast in EnSsh * Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -66,7 +66,7 @@ f32 pow_int(f32 base, s32 exp) {
|
||||
* Takes an angle in radians and returns the sine.
|
||||
*/
|
||||
f32 sin_rad(f32 rad) {
|
||||
return sins(RADF_TO_BINANG(rad)) * SHT_MINV;
|
||||
return sins(RAD_TO_BINANG(rad)) * SHT_MINV;
|
||||
}
|
||||
|
||||
// Rename to Math_CosF
|
||||
@@ -74,7 +74,7 @@ f32 sin_rad(f32 rad) {
|
||||
* Takes an angle in radians and returns the cosine.
|
||||
*/
|
||||
f32 cos_rad(f32 rad) {
|
||||
return coss(RADF_TO_BINANG(rad)) * SHT_MINV;
|
||||
return coss(RAD_TO_BINANG(rad)) * SHT_MINV;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user