Files
jak-project/goal_src/jak2/engine/math/trigonometry-h.gc
T
water111 f7bd0752f8 [decomp] Decompile first batch of files in engine (#1787)
* wip

* getting stuff set up so we can actually run test cases

* better handle block entry stuff

* types2 working on gstring

* comments

* math ref working

* up to first stack stuff

* stack fixes

* bounding box

* math stuff is working

* float fixes

* temp debug for (method 9 profile-array)

* stupid stupid bug

* debugging

* everything is broken

* some amount of type stuff works

* bitfield

* texture bitfields not working

* temp

* types

* more stuff

* type check

* temp

* float related fixes for light and res problems

* revisit broken files, fix bugs

* more types

* vector debug

* bug fixes for decompiler crashes in harder functions

* update goal_src
2022-08-24 00:29:51 -04:00

25 lines
934 B
Common Lisp

;;-*-Lisp-*-
(in-package goal)
;; name: trigonometry-h.gc
;; name in dgo: trigonometry-h
;; dgos: ENGINE, GAME
;; DECOMP BEGINS
;; no code!
(define-extern deg-diff (function float float float))
(define-extern sin (function float float))
(define-extern sincos! (function (pointer float) float int))
(define-extern vector-sin-rad! (function vector vector vector))
(define-extern vector-sincos! (function vector vector vector int))
(define-extern vector-sincos-rad! (function vector vector vector int))
(define-extern sincos-rad! (function (pointer float) float int))
(define-extern vector-rad<-vector-deg/2! (function vector vector int))
(define-extern cos (function float float))
(define-extern atan-series-rad (function float float))
(define-extern atan2-rad (function float float float))
(define-extern atan (function float float float))
(define-extern acos (function float float))
(define-extern acos-rad (function float float))