Current section

Files

Jump to
exray lib Exray Structs Ray.ex
Raw

lib/Exray/Structs/Ray.ex

defmodule Exray.Structs.Ray do
@moduledoc """
Ray TypedStruct
"""
use TypedStruct
typedstruct enforce: true do
field :position, Vector3.t()
field :direction, Vector3.t()
end
end