[][src]Crate libraymarcher

Structs

Julia

A Julia set defined by a Quaternion c value (used in z = z^2 + c) Includes a color, which is passed through to the raymarcher

Quaternion

Quaternion type, a 4 dimensional number type.

RayMarcher
RayMarcherConfig
RayResult
Sphere

Simple sphere distance field

Vec3

A 3 dimensional vector of f64

Traits

Color

Any type implementing this will be able to be used as an input/output type to the raymarcher

SceneObject

Represents something that has a distance field (through SceneObject::distance_to)

Functions

cast_ray

Performs the raymarching algorithm on a scene.