Explorar el Código

Added SetAspect to the ICamera interface

Merge https://github.com/g3n/engine/pull/57 first if you accept this change.
amyadzuki hace 7 años
padre
commit
393d18c31c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      camera/camera.go

+ 1 - 0
camera/camera.go

@@ -16,6 +16,7 @@ type ICamera interface {
 	ViewMatrix(*math32.Matrix4)
 	ProjMatrix(*math32.Matrix4)
 	Project(*math32.Vector3) (*math32.Vector3, error)
+	SetAspect(float32)
 	Unproject(*math32.Vector3) (*math32.Vector3, error)
 	SetRaycaster(rc *core.Raycaster, x, y float32) error
 }