mirror of
https://github.com/open-goal/jak-project
synced 2026-07-01 20:20:35 -04:00
e01e065170
* wip * decompile file-io * a * fix
16 lines
299 B
Common Lisp
16 lines
299 B
Common Lisp
(start-test "vector-dot")
|
|
|
|
(let ((a (new 'global 'vector))
|
|
(b (new 'global 'vector)))
|
|
(set! (-> a x) 1.)
|
|
(set! (-> a y) 2.)
|
|
(set! (-> a z) 3.)
|
|
(set! (-> b x) 2.)
|
|
(set! (-> b y) 3.)
|
|
(set! (-> b z) 4.)
|
|
(.nop)
|
|
(nop!)
|
|
(expect-true (= 20.0 (vector-dot-vu a b)))
|
|
)
|
|
|
|
(finish-test) |