View Source Zenic.Renderable protocol (Zenic v0.1.0)

Summary

Types

t()

All the types that implement this protocol.

Types

@type spec() ::
  {center :: Zenic.Math.Vector3.t(), module :: atom(), data :: term(),
   options :: keyword()}
@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

to_specs(element, camera, transforms \\ [])

View Source
@spec to_specs(
  element :: t(),
  camera :: Zenic.Camera.t(),
  transforms :: [Zenic.Transform.t()]
) :: [
  spec()
]