- coordinateBits
enum coordinateBits;
Undocumented in source.
- fix
alias fix = SignedBitsType!(COLOR.channelBits + coordinateBits)
Fixed-point type, big enough to hold a coordinate, with fractionary precision corresponding to channel precision.
- fix2
alias fix2 = SignedBitsType!(COLOR.channelBits * 2 + coordinateBits)
Type to hold temporary values for multiplication and division
- tofix
fix tofix(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
- tofix
fix tofix(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixto
T fixto(fix x)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixsqr
fix fixsqr(fix x)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixmul
fix fixmul(fix x, fix y)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixdiv
fix fixdiv(fix x, fix y)
Undocumented in source. Be warned that the author may not have intended to support it.
- frac
alias frac = COLOR.ChannelType
Type only large enough to hold a fractionary part of a "fix" (i.e. color channel precision). Used for alpha values, etc.
- frac2
alias frac2 = UnsignedBitsType!(COLOR.channelBits * 2)
Type to hold temporary values for multiplication and division
- tofrac
frac tofrac(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
- fixfpart
frac fixfpart(fix x)
Undocumented in source. Be warned that the author may not have intended to support it.
- fracsqr
frac fracsqr(frac x)
Undocumented in source. Be warned that the author may not have intended to support it.
- fracmul
frac fracmul(frac x, frac y)
Undocumented in source. Be warned that the author may not have intended to support it.
- tofracBounded
frac tofracBounded(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
Game objects and logic