ICamera is the interface for all cameras.
| 34 | |
| 35 | // ICamera is the interface for all cameras. |
| 36 | type 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. |
| 42 | type Camera struct { |