소스 검색

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
 }