[collision] add notes on -h files, add some enums (#1068)

* temp

* add enums
This commit is contained in:
water111
2022-01-08 20:57:57 -05:00
committed by GitHub
parent bc94822ed1
commit a96396e140
277 changed files with 21698 additions and 26699 deletions
+8 -2
View File
@@ -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))