summaryrefslogtreecommitdiff
path: root/include/JSystem/JMath
diff options
context:
space:
mode:
authorPheenoh <pheenoh@gmail.com>2024-04-12 00:10:30 -0600
committerGitHub <noreply@github.com>2024-04-12 00:10:30 -0600
commita61e3491f7c46b698514af50464cf71ba76bd3a3 (patch)
tree40dbf46b97316a5a6d919e35c9976506df869000 /include/JSystem/JMath
parentb36f0f93660b0b1eee5268acad6c1b7b60f0bb5d (diff)
d_a_e_fz work, doxygen revamp (#2127)
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
Diffstat (limited to 'include/JSystem/JMath')
-rw-r--r--include/JSystem/JMath/JMATrigonometric.h16
-rw-r--r--include/JSystem/JMath/random.h5
2 files changed, 21 insertions, 0 deletions
diff --git a/include/JSystem/JMath/JMATrigonometric.h b/include/JSystem/JMath/JMATrigonometric.h
index 356b8acd60..5af842f631 100644
--- a/include/JSystem/JMath/JMATrigonometric.h
+++ b/include/JSystem/JMath/JMATrigonometric.h
@@ -7,11 +7,19 @@
template<typename T>
struct TAngleConstant_;
+/**
+ * @ingroup jsystem-jmath
+ *
+ */
template<>
struct TAngleConstant_<f32> {
static inline f32 RADIAN_DEG360() { return 6.2831855f; }
};
+/**
+ * @ingroup jsystem-jmath
+ *
+ */
template<int N, typename T>
struct TSinCosTable {
std::pair<T, T> table[1 << N];
@@ -48,11 +56,19 @@ struct TSinCosTable {
}
};
+/**
+ * @ingroup jsystem-jmath
+ *
+ */
struct TAtanTable {
f32 table[1025];
u8 pad[0x1C];
};
+/**
+ * @ingroup jsystem-jmath
+ *
+ */
struct TAsinAcosTable {
f32 table[1025];
u8 pad[0x1C];
diff --git a/include/JSystem/JMath/random.h b/include/JSystem/JMath/random.h
index 84d3dfa64c..c6794aaaed 100644
--- a/include/JSystem/JMath/random.h
+++ b/include/JSystem/JMath/random.h
@@ -4,6 +4,11 @@
#include "dolphin/types.h"
namespace JMath {
+
+/**
+ * @ingroup jsystem-jmath
+ *
+ */
struct TRandom_fast_ {
u32 value;