소스 검색

Merge pull request #58 from amyadzuki/patch-6

Added SetAspect to the ICamera interface
Daniel Salvadori 7 년 전
부모
커밋
da3d99082d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      camera/camera.go

+ 1 - 0
camera/camera.go

@@ -13,6 +13,7 @@ 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)