Current section

Files

Jump to
tesseract_geometry lib geometry temporal aabb3t.ex
Raw

lib/geometry/temporal/aabb3t.ex

defmodule Tesseract.Geometry.Temporal.AABB3t do
alias Tesseract.Math.Vec3
alias Tesseract.Geometry.Temporal.Vec3t
@type t :: {Vec3t, Vec3}
@spec make(Vec3t.t(), Vec3.t()) :: t
def make(point_in_time, velocity_vector) do
{point_in_time, velocity_vector}
end
# def from_trajectory(box_a, box_b) do
# {box_a, Vec3.subtract(box_b, box_a)}
# end
end