Files
jak-project/test/decompiler/reference/jak2/engine/math/euler-h_REF.gc
T
2023-09-30 10:24:37 -04:00

38 lines
981 B
Common Lisp
Vendored
Generated

;;-*-Lisp-*-
(in-package goal)
;; definition for symbol EulSafe, type (array int32)
(define EulSafe (new 'static 'boxed-array :type int32 0 1 2 0))
;; definition for symbol EulNext, type (array int32)
(define EulNext (new 'static 'boxed-array :type int32 1 2 0 1))
;; definition of type euler-angles
(deftype euler-angles (vector)
()
:method-count-assert 9
:size-assert #x10
:flag-assert #x900000010
)
;; definition for method 3 of type euler-angles
;; INFO: Used lq/sq
(defmethod inspect euler-angles ((this euler-angles))
(when (not this)
(set! this this)
(goto cfg-4)
)
(format #t "[~8x] ~A~%" this 'euler-angles)
(format #t "~1Tdata[4] @ #x~X~%" (&-> this x))
(format #t "~1Tx: ~f~%" (-> this x))
(format #t "~1Ty: ~f~%" (-> this y))
(format #t "~1Tz: ~f~%" (-> this z))
(format #t "~1Tw: ~f~%" (-> this w))
(format #t "~1Tquad: ~D~%" (-> this quad))
(label cfg-4)
this
)
;; failed to figure out what this is:
0