|
@@ -13,10 +13,10 @@ import (
|
|
|
// ICamera is interface for all camera types.
|
|
// ICamera is interface for all camera types.
|
|
|
type ICamera interface {
|
|
type ICamera interface {
|
|
|
GetCamera() *Camera
|
|
GetCamera() *Camera
|
|
|
|
|
+ SetAspect(float32)
|
|
|
ViewMatrix(*math32.Matrix4)
|
|
ViewMatrix(*math32.Matrix4)
|
|
|
ProjMatrix(*math32.Matrix4)
|
|
ProjMatrix(*math32.Matrix4)
|
|
|
Project(*math32.Vector3) (*math32.Vector3, error)
|
|
Project(*math32.Vector3) (*math32.Vector3, error)
|
|
|
- SetAspect(float32)
|
|
|
|
|
Unproject(*math32.Vector3) (*math32.Vector3, error)
|
|
Unproject(*math32.Vector3) (*math32.Vector3, error)
|
|
|
SetRaycaster(rc *core.Raycaster, x, y float32) error
|
|
SetRaycaster(rc *core.Raycaster, x, y float32) error
|
|
|
}
|
|
}
|