diff --git a/pixelgl/interface.go b/pixelgl/interface.go index cb140a465cdb13812849bc6328e8fada0fb3005c..86ab87f333bac46e613962b394b77434f8fa4ae6 100644 --- a/pixelgl/interface.go +++ b/pixelgl/interface.go @@ -9,7 +9,7 @@ package pixelgl // you enter (load, bind) that object's state, then do something with it, and then leave the state. That 'something' // in between, let's call it sub (as in subroutine). // -// The recommended way to implement a Doer is to wrap another Doer (vertex array wrap texture and so on), let's call +// The recommended way to implement a Doer is to wrap another Doer (vertex array wraps texture and so on), let's call // it parent. Then the Do method will look like this: // // func (o *MyObject) Do(sub func()) { diff --git a/pixelgl/orphan.go b/pixelgl/orphan.go index 14d67f62485c6be8c16f78f48979a17a0b9e2e85..468df231c03c6a4116e52d6252f50494bf47523f 100644 --- a/pixelgl/orphan.go +++ b/pixelgl/orphan.go @@ -2,7 +2,7 @@ package pixelgl import "github.com/go-gl/gl/v3.3-core/gl" -// This file defines functions that can operate without a parent BeginEnder. +// This file defines functions that can operate without a parent Doer. // Clear clears the current context.. func Clear(r, g, b, a float64) { diff --git a/pixelgl/vertex.go b/pixelgl/vertex.go index a9a68e667b17dabbdb58781a951b02fd215b3cdc..2cf98e4be6218df031db2fc944156e19237119c8 100644 --- a/pixelgl/vertex.go +++ b/pixelgl/vertex.go @@ -98,7 +98,7 @@ type VertexArray struct { count int } -// NewVertexArray creates a new vertex array and wraps another BeginEnder around it. +// NewVertexArray creates a new vertex array and wraps another Doer around it. func NewVertexArray(parent Doer, format VertexFormat, mode VertexDrawMode, usage VertexUsage, data []float64) (*VertexArray, error) { va := &VertexArray{ parent: parent,