Camera.capture

Undocumented in source. Be warned that the author may not have intended to support it.
class Camera
void
capture
(
Entity
)
(
Entity e
)
if (
__traits(hasMember, Entity, "viewMatrix") &&
is(typeof(Entity.init.viewMatrix = mat4.identity))
&&
__traits(hasMember, Entity, "projectionMatrix")
&&
is(typeof(Entity.init.projectionMatrix = mat4.identity))
)

Meta