Files
jak-project/test/decompiler/reference/jak1/engine/math/euler-h_REF.gc
T
Hat Kid fc43870d85 decompiler: obj -> this, set-time! and time-elapsed? macros (#3026)
This renames the method object in `defmethod`s to `this` and adds
detection for the `set-time!` and `time-elapsed?` macros.

Definitely my biggest PR yet...
2023-09-26 15:17:00 +01:00

33 lines
896 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))
(format #t "[~8x] ~A~%" this 'euler-angles)
(format #t "~Tdata[4] @ #x~X~%" (&-> this x))
(format #t "~Tx: ~f~%" (-> this x))
(format #t "~Ty: ~f~%" (-> this y))
(format #t "~Tz: ~f~%" (-> this z))
(format #t "~Tw: ~f~%" (-> this w))
(format #t "~Tquad: ~D~%" (-> this quad))
this
)
;; failed to figure out what this is:
0