jak-project/goal_src/engine/math/euler-h.gc

23 lines
630 B
Common Lisp
Raw Normal View History

;;-*-Lisp-*-
2020-09-04 14:44:23 -04:00
(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
)