Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const FullCircle + const HalfCircle + const QuarterCircle + func AngleToRadians(a int32) float64 + func Atan2(y, x Fixed) int32 + func NormalizeAngle(a int32) int32 + func RadiansToAngle(rad float64) int32 + func ShortestArc(a int32) int32 + type Fixed int64 + const FracBits + const Half + const One + const Zero + func Clamp(a, lo, hi Fixed) Fixed + func Cos(angle int32) Fixed + func FromFloat(f float64) Fixed + func FromInt(i int) Fixed + func Hypot(x, y Fixed) Fixed + func Max(a, b Fixed) Fixed + func Min(a, b Fixed) Fixed + func Sin(angle int32) Fixed + func SinCos(angle int32) (sin, cos Fixed) + func (a Fixed) Abs() Fixed + func (a Fixed) Div(b Fixed) Fixed + func (a Fixed) Float() float64 + func (a Fixed) Int() int + func (a Fixed) Mul(b Fixed) Fixed + func (a Fixed) Sign() int + func (a Fixed) Sqrt() Fixed + type Vec2 struct + X Fixed + Z Fixed + func (a Vec2) Add(b Vec2) Vec2 + func (a Vec2) DistTo(b Vec2) Fixed + func (a Vec2) Len() Fixed + func (a Vec2) Sub(b Vec2) Vec2 + type Vec3 struct + X Fixed + Y Fixed + Z Fixed + func (a Vec3) XZ() Vec2