Explorar el Código

Merge pull request #58 from amyadzuki/patch-6

Added SetAspect to the ICamera interface
Daniel Salvadori hace 7 años
padre
commit
da3d99082d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      camera/camera.go

+ 1 - 0
camera/camera.go

@@ -13,6 +13,7 @@ import (
 // ICamera is interface for all camera types.
 type ICamera interface {
 	GetCamera() *Camera
+	SetAspect(float32)
 	ViewMatrix(*math32.Matrix4)
 	ProjMatrix(*math32.Matrix4)
 	Project(*math32.Vector3) (*math32.Vector3, error)