2020-10-26 21:08:24 -04:00
|
|
|
;;-*-Lisp-*-
|
2020-09-04 14:44:23 -04:00
|
|
|
(in-package goal)
|
2024-05-12 12:37:59 -04:00
|
|
|
(bundles "ENGINE.CGO" "GAME.CGO")
|
|
|
|
(require "engine/math/vector-h.gc")
|
2020-09-04 14:44:23 -04:00
|
|
|
|
2023-09-26 10:17:00 -04:00
|
|
|
;; DECOMP BEGINS
|
|
|
|
|
2021-02-13 11:32:52 -05:00
|
|
|
;; maybe euler angle storage orders?
|
2024-06-05 22:17:31 -04:00
|
|
|
(define EulSafe (new 'static 'boxed-array :type int32 :length 4 0 1 2 0))
|
|
|
|
|
|
|
|
(define EulNext (new 'static 'boxed-array :type int32 :length 4 1 2 0 1))
|
2021-02-13 11:32:52 -05:00
|
|
|
|
|
|
|
;; just uses the same xyzw and data array as vector.
|
2021-04-11 16:07:01 -04:00
|
|
|
;; the w stores a float that should be an integer that seems to have
|
|
|
|
;; bitfields for... something? Like maybe the order?
|
2022-02-05 16:30:50 -05:00
|
|
|
;; Euler angles are mostly unused
|
2024-06-05 22:17:31 -04:00
|
|
|
(deftype euler-angles (vector) ())
|