Starting work on Engine+Mesh+Material systems/packages

This commit is contained in:
bloeys
2022-01-22 22:23:44 +04:00
parent b9cd630fcf
commit 6dee7b0f1d
7 changed files with 407 additions and 308 deletions

View File

@ -153,11 +153,11 @@ func (bo *BufferObject) SetBuffer(buf *Buffer) {
}
}
func (bo *BufferObject) Activate() {
func (bo *BufferObject) Bind() {
gl.BindVertexArray(bo.VAOID)
}
func (bo *BufferObject) Deactivate() {
func (bo *BufferObject) UnBind() {
gl.BindVertexArray(0)
}