Built-in Quaternions (Not just an April Fool's Joke any more)

This commit is contained in:
gingerBill committed 2019-08-26 11:33:05 +01:00
1 parent 59ab51acec
commit 7bc146e6fd
13 files changed
+909 -66

No files matched your search

+2
View File
@@ -12,6 +12,7 @@ Type_Kind :: enum {
Rune,
Float,
Complex,
Quaternion,
String,
Boolean,
Any,
@@ -42,6 +43,7 @@ type_kind :: proc(T: typeid) -> Type_Kind {
case runtime.Type_Info_Rune: return .Rune;
case runtime.Type_Info_Float: return .Float;
case runtime.Type_Info_Complex: return .Complex;
case runtime.Type_Info_Quaternion: return .Quaternion;
case runtime.Type_Info_String: return .String;
case runtime.Type_Info_Boolean: return .Boolean;
case runtime.Type_Info_Any: return .Any;