Explorar o código

organized camera.go

Daniel Salvadori %!s(int64=7) %!d(string=hai) anos
pai
achega
fcc51d0208
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 }