mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
5b24e43143
* change syntax for boxed array * fix test and make the flava thing kind of work
23 lines
630 B
Common Lisp
23 lines
630 B
Common Lisp
;;-*-Lisp-*-
|
|
(in-package goal)
|
|
|
|
;; name: euler-h.gc
|
|
;; name in dgo: euler-h
|
|
;; dgos: GAME, ENGINE
|
|
|
|
;; maybe euler angle storage orders?
|
|
(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))
|
|
|
|
;; just uses the same xyzw and data array as vector.
|
|
;; the w stores a float that should be an integer that seems to have
|
|
;; bitfields for... something? Like maybe the order?
|
|
(deftype euler-angles (vector)
|
|
()
|
|
:method-count-assert 9
|
|
:size-assert #x10
|
|
:flag-assert #x900000010
|
|
)
|