浏览代码

Added SetAspect to the ICamera interface

Merge https://github.com/g3n/engine/pull/57 first if you accept this change.
amyadzuki 7 年之前
父节点
当前提交
393d18c31c
共有 1 个文件被更改,包括 1 次插入0 次删除
  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
 }