mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 14:36:52 -04:00
jak3: fix mirage shot (#3501)
This commit is contained in:
@@ -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))
|
||||
|
||||
+7
-6
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user