瀏覽代碼

organized camera.go

Daniel Salvadori 7 年之前
父節點
當前提交
fcc51d0208
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 }