Ephemeral.Common
Common components
type path = string
File paths
type vec3 = {
x : float;
y : float;
z : float;
}
XYZ vector
val string_of_vec3 : vec3 -> string
String representation of a vector
val magnitude : vec3 -> float
Compute the magnitude of a vector
val clamp : 'a -> 'a -> 'a -> 'a
Clamp a value between two boundaries, inclusive
val contains : string -> string -> bool
Check if s1 contains s2
s1
s2