FixMath.fix

Fixed-point type, big enough to hold a coordinate, with fractionary precision corresponding to channel precision.

mixintemplate FixMath(ubyte coordinateBitsParam = 16)
alias fix = SignedBitsType!(COLOR.channelBits + coordinateBits)

Meta