Преглед изворни кода

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)