Update README

This commit is contained in:
Krzosa Karol
2022-10-09 09:16:26 +02:00
parent 9b06c2548e
commit aa2b4d90e4
2 changed files with 9 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ sinf :: #foreign (value: F32): F32
Vec2I :: struct;; x: S64; y: S64
Vec2 :: struct;; x: F32; y: F32
"*" :: (a: Vec2, b: Vec2): Vec2 ;; return {a.x*b.x, a.y*b.y}
"*" :: (a: Vec2, b: F32) : Vec2 ;; return {a.x*b, a.y*b}
"*" :: (a: F32, b: Vec2) : Vec2 ;; return {a*b.x, a*b.y}