module voxel.svo.util
Code Map
module voxel.svo.util;
//! A helper struct to get the distance that a Voxel of a given level is
//! one pixel large.
struct VoxelDistanceFinder
{
public:
enum SQRT2;
public:
ratio: f64;
halfPixels: f64;
tanHalfFov: f64;
public:
fn setup(fov: f64, width: u32, height: u32) { }
fn getDistance(level: i32) f64 { }
}
struct BufferTracker
{
public:
bits: u32;
numFree: u32;
public:
fn setup(num: u32) { }
fn get() u32 { }
fn free(index: u32) { }
}
fn countTrailingZeros(bits: u32, isZeroUndef: bool) u32;
struct VoxelDistanceFinder
A helper struct to get the distance that a Voxel of a given level is one pixel large.