Ver código fonte

organized camera.go

Daniel Salvadori 7 anos atrás
pai
commit
fcc51d0208
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      camera/camera.go

+ 1 - 1
camera/camera.go

@@ -13,10 +13,10 @@ 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)
-	SetAspect(float32)
 	Unproject(*math32.Vector3) (*math32.Vector3, error)
 	SetRaycaster(rc *core.Raycaster, x, y float32) error
 }