MCPcopy
hub / github.com/g3n/engine / ICamera

Interface ICamera

camera/camera.go:36–39  ·  view source on GitHub ↗

ICamera is the interface for all cameras.

Source from the content-addressed store, hash-verified

34
35// ICamera is the interface for all cameras.
36type ICamera interface {
37 ViewMatrix(m *math32.Matrix4)
38 ProjMatrix(m *math32.Matrix4)
39}
40
41// Camera represents a virtual camera, which specifies how to project a 3D scene onto an image.
42type Camera struct {

Callers 3

RenderMethod · 0.65
SetFromCameraMethod · 0.65
RenderMethod · 0.65

Implementers 1

Cameracamera/camera.go

Calls

no outgoing calls

Tested by

no test coverage detected