aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-03 15:40:28 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-03 15:40:28 -0400
commit4e1dd4ced270ec374c9f45edec03dbc2e2e0b050 (patch)
tree702bd699a40ad49e29d2e6dbcfd757aaf1a021fc /base
parent10d354aea812bfe50cc5e7822f4957d6384ab736 (diff)
Move `Raw_Complex/Quaternion` types to `base:runtime`
Diffstat (limited to 'base')
-rw-r--r--base/runtime/core.odin6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/runtime/core.odin b/base/runtime/core.odin
index 4b6a1949e..9b7a3f613 100644
--- a/base/runtime/core.odin
+++ b/base/runtime/core.odin
@@ -470,6 +470,12 @@ Raw_Soa_Pointer :: struct {
index: int,
}
+Raw_Complex64 :: struct {real, imag: f32}
+Raw_Complex128 :: struct {real, imag: f64}
+Raw_Quaternion128 :: struct {imag, jmag, kmag: f32, real: f32}
+Raw_Quaternion256 :: struct {imag, jmag, kmag: f64, real: f64}
+Raw_Quaternion128_Vector_Scalar :: struct {vector: [3]f32, scalar: f32}
+Raw_Quaternion256_Vector_Scalar :: struct {vector: [3]f64, scalar: f64}
/*