Parsing operator overloads
This commit is contained in:
@@ -6,7 +6,8 @@ Vec2I :: struct;; x: S64; y: S64
|
||||
Vec2 :: struct;; x: F32; y: F32
|
||||
Vec3 :: struct;; x: F32; y: F32; z: F32
|
||||
|
||||
|
||||
"+" :: (a: Vec3, b: Vec3): Vec3
|
||||
return Vec3_Add(a,b)
|
||||
|
||||
Vec3_Cross :: (a: Vec3, b: Vec3): Vec3
|
||||
result := Vec3{
|
||||
|
||||
Reference in New Issue
Block a user