This is the documentation for Enlighten.
module Maths
Classes
Name | Description |
|---|---|
A convex hull of a set of points. | |
Builds ConvexHull objects. | |
A covariance matrix. | |
Used for building CovarianceMatrix. | |
A line between two points. | |
A class representing a 2d linear transform between UVs. | |
class GeoBlueNoise Adapted from: Bridson, Robert, "Fast Poisson Sampling in Arbitrary Dimensions", ACM SIGGRAPH 2007 sketches | |
Builds a pallet of blue noise samples, each in a disk of radius 1. | |
class GeoBlueNoiseRayPalette | |
This class represents an axis aligned bounding box. | |
This class represents a bounding sphere. | |
Represents a range of integers, e.g. between 10 and 20. | |
Single precision 2 dimensional point class. | |
Integer 2 dimensional point class. | |
Single precision 3 dimensional point class. | |
Integer 3 dimensional point class. | |
Single precision 3 dimensional vector class. | |
Single precision 4 dimensional vector class. | |
A Mersenne Twister RNG. | |
Single-precision 4x4 matrix class. | |
The 'super-duper' random number generator with shuffle (an LCG). | |
Result structure used for comparing input lighting buffers. | |
Double precision vector class. |
Functions
Name | Description |
|---|---|
BloatTriangle(ConvexHull *, Geo::v128, Geo::v128, Geo::v128, float, Geo::s32) | Bloat a triangle by a specified amount. |
CalcCubeMapCoordinatesForDirection(Geo::v128, Geo::s32, Geo::s32 &, float &, float &) | Compute the cube map texel coordinate for a given direction and cubemap resolution. |
CalcDirectionForCubeMapCoordinate(Geo::s32, Geo::s32, Geo::s32, Geo::s32) | Generate a direction vector for a cubemap texel coordinate. |
Generate a direction vector for a cubemap texel UV coordinate. | |
Compute the closest point in the box to p. | |
Combine the values in statsA and statsB so that the properties of each member are retained over the whole set. | |
Computes the difference between two vector arrays. | |
Is a box contained by the box? | |
Is a point in the box? | |
Is a point in the box? Only tests xy. | |
Double precision vector operators. | |
Double precision vector operators. | |
Enlarge this bounding box to include the given point. | |
Expands this bounding box by the given amount in each of the three axes (in both directions). | |
GenerateGuidFromString(GeoGuid &, const GeoString< char > &) | Convert a string to a GUID by hashing. |
Convert a string to a GUID by hashing. | |
GenerateUnitSquareFastPoissonDistribution(const s32 &, GeoArray< GeoPoint2 > &, const u32 &) | Helper function to generate fast poisson samples in the 2D unit square. |
GenerateUnitSquareSobolDistribution(const s32 &, GeoArray< GeoPoint2 > &, const u32 &) | Helper function to generate sobol samples in the 2D unit square. |
Create a bounding box defined by two extreme points. |