Documentation ¶
Index ¶
- func InitGl()
- type AnimationManager
- func (am *AnimationManager) AddAnimation(animation func(t float32), time float64)
- func (am *AnimationManager) AddContunuousAnimation(animation func())
- func (am *AnimationManager) GetAngle() float64
- func (am *AnimationManager) GetElapsed() float64
- func (am *AnimationManager) Init()
- func (am *AnimationManager) Update()
- type Program
- type Shader
- type Texture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnimationManager ¶
type AnimationManager struct {
// contains filtered or unexported fields
}
func NewAnimationManager ¶
func NewAnimationManager() *AnimationManager
func (*AnimationManager) AddAnimation ¶
func (am *AnimationManager) AddAnimation(animation func(t float32), time float64)
func (*AnimationManager) AddContunuousAnimation ¶
func (am *AnimationManager) AddContunuousAnimation(animation func())
func (*AnimationManager) GetAngle ¶
func (am *AnimationManager) GetAngle() float64
func (*AnimationManager) GetElapsed ¶
func (am *AnimationManager) GetElapsed() float64
func (*AnimationManager) Init ¶
func (am *AnimationManager) Init()
func (*AnimationManager) Update ¶
func (am *AnimationManager) Update()
type Program ¶
type Program struct {
// contains filtered or unexported fields
}
func NewProgram ¶
func (*Program) GetUniformLocation ¶
Click to show internal directories.
Click to hide internal directories.