mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
jak3: fix mirage shot (#3501)
This commit is contained in:
parent
39f3549640
commit
f9e0aa82bc
|
@ -943,7 +943,7 @@
|
|||
["L19", "vector"],
|
||||
["L18", "vector"],
|
||||
["L17", "vector"],
|
||||
["L24", "vector"],
|
||||
["L24", "(inline-array vector)", 2],
|
||||
["L15", "vector"],
|
||||
["L14", "vector"]
|
||||
],
|
||||
|
|
|
@ -34,12 +34,13 @@
|
|||
(set! (-> v1-9 fvec quad) a2-1)
|
||||
(set! (-> v1-9 trans quad) a3-2)
|
||||
)
|
||||
(let ((v1-10 (new 'static 'vector :x 3686.4 :y 5324.8 :z 6144.0 :w 1.0)))
|
||||
(vector-matrix*!
|
||||
(-> gp-1 vec0)
|
||||
(the-as vector (+ (the-as uint v1-10) (* (-> gp-1 barrel-idx) 16)))
|
||||
(-> gp-1 mat0)
|
||||
)
|
||||
(let ((v1-10 (new 'static 'inline-array vector 2
|
||||
(new 'static 'vector :x 3686.4 :y 5324.8 :z 6144.0 :w 1.0)
|
||||
(new 'static 'vector :x -3686.4 :y 5324.8 :z 6144.0 :w 1.0)
|
||||
)
|
||||
)
|
||||
)
|
||||
(vector-matrix*! (-> gp-1 vec0) (-> v1-10 (-> gp-1 barrel-idx)) (-> gp-1 mat0))
|
||||
)
|
||||
0
|
||||
(vector-reset! (-> gp-1 vec4))
|
||||
|
|
13
test/decompiler/reference/jak3/levels/desert/wvehicle/wcar-mirage_REF.gc
generated
vendored
13
test/decompiler/reference/jak3/levels/desert/wvehicle/wcar-mirage_REF.gc
generated
vendored
|
@ -43,12 +43,13 @@
|
|||
(set! (-> v1-9 fvec quad) a2-1)
|
||||
(set! (-> v1-9 trans quad) a3-2)
|
||||
)
|
||||
(let ((v1-10 (new 'static 'vector :x 3686.4 :y 5324.8 :z 6144.0 :w 1.0)))
|
||||
(vector-matrix*!
|
||||
(-> gp-1 vec0)
|
||||
(the-as vector (+ (the-as uint v1-10) (* (-> gp-1 barrel-idx) 16)))
|
||||
(-> gp-1 mat0)
|
||||
)
|
||||
(let ((v1-10 (new 'static 'inline-array vector 2
|
||||
(new 'static 'vector :x 3686.4 :y 5324.8 :z 6144.0 :w 1.0)
|
||||
(new 'static 'vector :x -3686.4 :y 5324.8 :z 6144.0 :w 1.0)
|
||||
)
|
||||
)
|
||||
)
|
||||
(vector-matrix*! (-> gp-1 vec0) (-> v1-10 (-> gp-1 barrel-idx)) (-> gp-1 mat0))
|
||||
)
|
||||
0
|
||||
(vector-reset! (-> gp-1 vec4))
|
||||
|
|
Loading…
Reference in a new issue