1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![no_std]

pub mod operators;
pub mod raymarch;
pub mod signed_distance_field;
pub mod bound_checker;

pub mod prelude;

use rust_gpu_bridge::prelude::{Vec2, Vec3};

pub type D1 = f32;
pub type D2 = Vec2;
pub type D3 = Vec3;

/// Free-standing [`Default::default()`] invocation
pub fn default<T: Default>() -> T {
    Default::default()
}