| GL Studio SCECpp Runtime Library
    | 
#include <gls_util.h>
| Classes | |
| class | InlineReader | 
| Static Public Member Functions | |
| static GlsBool | VeryCloseToZero (const GlsFloat32 val) | 
| static GlsBool | EqualFloat32 (const GlsFloat32 x, const GlsFloat32 y, const GlsFloat32 precision) | 
| static GlsFloat64 | Float64Mod (const GlsFloat64 x, const GlsFloat64 y) | 
| static GlsBool | EqualColor (const GlsColor &a, const GlsColor &b) | 
| static void | NormalizeVector3D (GlsVector3D &v) | 
| static void | CrossProductVector3D (GlsVector3D &v, const GlsVector3D &w) | 
| static GlsFloat32 | DistanceVector3D (const GlsVector3D &v, const GlsVector3D &w) | 
| Static Public Attributes | |
| static const GlsFloat64 | PI | 
| static const GlsFloat64 | DEGREES_TO_RADIANS | 
| static const GlsColor | BLACK_GLS_COLOR | 
| static const GlsVector3D | ZERO_VECTOR_3D | 
| static const GlsVector3D | ONE_VECTOR_3D | 
| Static Protected Attributes | |
| static const GlsFloat32 | CLOSE_TO_ZERO | 
A collection of utility classes and functions
| 
 | static | 
Compute the 3D vector cross product of the the two vectors, assigning the result to v.
| v | [in/out] vector on left side of cross product, receives result of cross product computation | 
| w | right side of cross product | 
| 
 | static | 
Compute the distance between the two given 3D points
| v | first 3D point | 
| w | second 3D point | 
Determine if the two given colors are equal
| a | first color in question | 
| b | second color in question | 
| 
 | static | 
Determine if the two given floats are within precision amount of each other
| x | first float in question | 
| y | second float in question | 
| precision | precision amount indicating equal floats | 
| 
 | static | 
Get the gloating point modulus ( x mod y )
| x | number to mod | 
| y | number to mod by | 
| 
 | static | 
Normalize the given vector
| v | [in/out] vector to normalize | 
| 
 | static | 
Determine if the given value is very close (< 10E-4) to 0.0
| val | value in question | 
| 
 | staticprotected | 
value used to determine if a value is close to 0.0
| 
 | static | 
degrees to radians conversion factor
| 
 | static | 
3D vector of all ones
| 
 | static | 
PI constant
| 
 | static | 
3D vector of all zeroes
 1.8.10
 1.8.10