Re-exports§
pub use plane::Plane;
pub use projection::Projection;
pub use dir::*;
Modules§
- color 🔒
- dir
- find_
dist - grid_
hasher 🔒 - option 🔒
- plane
- projection
- spatial_
grid 🔒 - Contains
SpatialGrid
which is useful for accelerating queries of nearby entities
Structs§
- DISPLAY_
VERSION - DISPLAY_
VERSION_ LONG - GIT_
DATE - GIT_
DATETIME 🔒 - GIT_
DATE_ TIMESTAMP - GIT_
HASH - GIT_TAG
- GIT_
TIME - GIT_
VERSION - Grid
Hasher - Spatial
Grid
Constants§
Functions§
- chromify_
srgb - Preserves the luma of one color while changing its chromaticity to match the other
- either_
with - hsv_
to_ rgb - Convert hsv to rgb. Expects h [0, 360], s [0, 1], v [0, 1]
- linear_
to_ srgb - linear_
to_ srgba - rgb_
to_ hsv - Convert rgb to hsv. Expects rgb to be [0, 1].
- rgb_
to_ xyy - Convert linear rgb to CIExyY
- rgb_
to_ xyz - Convert linear rgb to CIEXYZ
- saturate_
srgb - srgb_
to_ linear - directly converted from ‘vec3 srgb_to_linear(vec3 srgb)’ function in ‘srgb.glsl’
- srgb_
to_ linear_ fast - This function is optimized for speed over perfect accuracy
- srgba_
to_ linear - xyy_
to_ rgb - Convert to CIExyY to linear rgb