Camera package+ rename asserts->assert

This commit is contained in:
bloeys
2022-07-23 22:51:57 +04:00
parent b85056dd31
commit 52b77e017e
9 changed files with 195 additions and 76 deletions

View File

@ -3,7 +3,7 @@ package buffers
import (
"fmt"
"github.com/bloeys/nmage/asserts"
"github.com/bloeys/nmage/assert"
"github.com/go-gl/gl/v4.1-core/gl"
)
@ -28,6 +28,6 @@ func (b BufUsage) ToGL() uint32 {
return gl.STREAM_DRAW
}
asserts.T(false, fmt.Sprintf("Unexpected BufUsage value '%v'", b))
assert.T(false, fmt.Sprintf("Unexpected BufUsage value '%v'", b))
return 0
}