jc/thirdparty/hmm/examples/radians.jai

14 lines
279 B
Text

main :: () {
angle := hmm.HMM_PI.(float);
assert(angle == hmm.ToRad(angle));
assert(angle != hmm.ToDeg(angle));
assert(angle != hmm.ToTurn(angle));
}
hmm :: #import,file "../module.jai"(
STATIC = true,
SIMD = true,
UNITS = .radians,
);
#import "Basic";