mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 02:14:07 -04:00
[collision] add notes on -h files, add some enums (#1068)
* temp * add enums
This commit is contained in:
+8
-2
@@ -500,7 +500,13 @@
|
||||
;; definition for method 22 of type joint-exploder
|
||||
;; Used lq/sq
|
||||
(defmethod TODO-RENAME-22 joint-exploder ((obj joint-exploder) (arg0 joint-exploder-list))
|
||||
(dummy-13 *collide-cache* (-> arg0 bbox) (the-as uint 1) obj (the-as uint 1))
|
||||
(dummy-13
|
||||
*collide-cache*
|
||||
(-> arg0 bbox)
|
||||
(collide-kind background)
|
||||
obj
|
||||
(new 'static 'pat-surface :skip #x1 :noentity #x1)
|
||||
)
|
||||
(let ((gp-1 (-> obj joints))
|
||||
(v1-2 (-> arg0 head))
|
||||
)
|
||||
@@ -511,7 +517,7 @@
|
||||
(s3-0 (new 'stack-no-clear 'collide-tri-result))
|
||||
)
|
||||
(vector-! a2-1 s4-0 (-> s5-1 prev-pos))
|
||||
(when (>= (dummy-18 *collide-cache* (-> s5-1 prev-pos) a2-1 40.96 1 s3-0 1) 0.0)
|
||||
(when (>= (dummy-18 *collide-cache* (-> s5-1 prev-pos) a2-1 40.96 (collide-kind background) s3-0 1) 0.0)
|
||||
(set! (-> s4-0 quad) (-> s3-0 intersect quad))
|
||||
(let ((f28-0 (vector-xz-length (-> s5-1 transv))))
|
||||
(vector-reflect! (-> s5-1 transv) (-> s5-1 transv) (-> s3-0 normal))
|
||||
|
||||
Reference in New Issue
Block a user