sbylib ~master (2020-02-29T08:12:18Z)
Dub
Repo
Camera.capture
sbylib
graphics
camera
camera
Camera
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
Source
See Implementation
sbylib
graphics
camera
camera
Camera
functions
capture
projectionMatrix
mixins
__anonymous