diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-06-03 15:41:14 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-06-03 15:41:14 -0400 |
| commit | 97f1d12e042b1400a4af84447959ef17e1b57f4a (patch) | |
| tree | bdd4068d5a0871ce87ee17e06d1b32ff9a68a1ae /base/runtime | |
| parent | 4e1dd4ced270ec374c9f45edec03dbc2e2e0b050 (diff) | |
Add missing `Raw_*` types for complex and quaternion
Diffstat (limited to 'base/runtime')
| -rw-r--r-- | base/runtime/core.odin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/runtime/core.odin b/base/runtime/core.odin index 9b7a3f613..47b9a690c 100644 --- a/base/runtime/core.odin +++ b/base/runtime/core.odin @@ -470,10 +470,13 @@ Raw_Soa_Pointer :: struct { index: int, } +Raw_Complex32 :: struct {real, imag: f16} Raw_Complex64 :: struct {real, imag: f32} Raw_Complex128 :: struct {real, imag: f64} +Raw_Quaternion64 :: struct {imag, jmag, kmag: f16, real: f16} Raw_Quaternion128 :: struct {imag, jmag, kmag: f32, real: f32} Raw_Quaternion256 :: struct {imag, jmag, kmag: f64, real: f64} +Raw_Quaternion64_Vector_Scalar :: struct {vector: [3]f16, scalar: f16} Raw_Quaternion128_Vector_Scalar :: struct {vector: [3]f32, scalar: f32} Raw_Quaternion256_Vector_Scalar :: struct {vector: [3]f64, scalar: f64} |