Daniel Salvadori il y a 6 ans
Parent
commit
444266b480
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      camera/camera.go

+ 2 - 2
camera/camera.go

@@ -57,7 +57,7 @@ func New(aspect float32) *Camera {
 	return NewPerspective(aspect, 0.3, 1000, 60, Vertical)
 }
 
-// NewPersp creates and returns a new perspective camera with the specified parameters.
+// NewPerspective creates and returns a new perspective camera with the specified parameters.
 func NewPerspective(aspect, near, far, fov float32, axis Axis) *Camera {
 
 	c := new(Camera)
@@ -73,7 +73,7 @@ func NewPerspective(aspect, near, far, fov float32, axis Axis) *Camera {
 	return c
 }
 
-// NewOrtho creates and returns a new orthographic camera with the specified parameters.
+// NewOrthographic creates and returns a new orthographic camera with the specified parameters.
 func NewOrthographic(aspect, near, far, size float32, axis Axis) *Camera {
 
 	c := new(Camera)