jc/hmm/examples/turns.jai
2025-05-14 16:52:27 -06:00

14 lines
283 B
Text

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