module voxel.generators.one

Contains the OneGen svo generator.

Code Map

//! Contains the OneGen svo generator.
module voxel.generators.one;


//! Generates a single voxel at origin (0, 0, 0).
struct OneGen
{
public:
	enum Max;


public:
	//! Generate a single white voxel at origin.
	fn gen(ib: InputBuffer, levels: u32) u32 { }
}
struct OneGen

Generates a single voxel at origin (0, 0, 0).

fn gen(ib: InputBuffer, levels: u32) u32

Generate a single white voxel at origin.