vec/dict/vec4i_dict
Types
Values
pub fn anchor_position(
dict: dict.Dict(vec4.Vec4(Int), value),
at position: vec4.Vec4(Int),
then fun: fn(dict.Dict(vec4.Vec4(Int), value)) -> dict.Dict(
vec4.Vec4(Int),
value,
),
) -> dict.Dict(vec4.Vec4(Int), value)
Return the equivalent of dict |> offset(vec4i.negate(position)) |> fun() |> offset(position).
pub fn decoder(
value: decode.Decoder(value),
) -> decode.Decoder(dict.Dict(vec4.Vec4(Int), value))
A decoder that decodes 4D int vec-dict.
pub fn mirror(
in dict: dict.Dict(vec4.Vec4(Int), value),
through normal: vec4.Vec4(Int),
) -> dict.Dict(vec4.Vec4(Int), value)
Returns the mirror of a vec-dict through a plane defined by the given normal vector.