The following table lists macros in this documentation.
Name |
Description |
a hard coded define that represents a 15 degree angle in radians. | |
a hard coded define that represents a 30 degree angle in radians. | |
a hard coded define that represents a 45 degree angle in radians. | |
a hard coded define that represents a 5 degree angle in radians. | |
This is macro sack::math::vector::CreateTransform. | |
This is 'epsilon' that is used with by NearZero comparison macro. | |
Macro to extract the exponent part of a RCOORD. | |
Macro which can be used to make a vector's direction be exactly opposite of what it is now. | |
symbol to define a double precision value for PI if it doesn't exist in the compiler. | |
compares two vectors to see if they are near each other. Boundary conditions exist around 0, when the values are on opposite sides, but it's pretty good. | |
Checks to see if a coordinate is 0 or near 0. | |
a symbol which is effectively the largest negative value of the space, anything less than this is untrackable, and is the same as infinity. | |
Special symbol that is the unit quantity. | |
a symbol which is effectively the largest value of the space, anything more than this is untrackable, and is the same as infinity. | |
Dumps to syslog a current matrix. Shows both matrix content, and the cross products between the matrix that cross1 should be row 0, cross2 should be row 1 and cross3 should be row2. Pass a text name to identify this matrix from others. | |
Same as PrintVectorEx, but prints to standard output using printf. | |
Define that an RCOORD is represented by the basic type 'double' for platforms with smaller fast floating point types, this could be float. | |
A macro to get the literal bits into an unsigned value of the same size. Shift and binary operators do not apply to floating point values, but floating point values are fields of bits that represent fractional parts of integers. This gets the bits so the fields can be tested. | |
should end up layering this macro based on DIMENSIONS | |
copies the value of a ray into another ray | |
This is function sack::math::vector::ShowTransformEx. | |
THRESHOLD may be any number more than 1. eveything 0 or more makes pretty much every number which is anything like another number equal... threshold is in count of bits... therefore for 1millionth digit accuracy that would be 20 bits. 10 bits is thousanths different are near 0 bits is if the same magnitude of number... but may be quite different -10 bits is thousands different are near 1 == 1.5 1 == 1.01 | |
relics from fixed point math dayz.... |
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|