Skip to content

Commit

Permalink
Remove purego implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
rocktavious committed May 22, 2024
1 parent 426bcb3 commit 4a4f1ef
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions raylib/rlgl_purego.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ var rlLoadIdentity func()
var rlTranslatef func(x float32, y float32, z float32)
var rlRotatef func(angle float32, x float32, y float32, z float32)
var rlScalef func(x float32, y float32, z float32)
var rlMultMatrix func(m *float32)
var rlFrustum func(left float64, right float64, bottom float64, top float64, znear float64, zfar float64)
var rlOrtho func(left float64, right float64, bottom float64, top float64, znear float64, zfar float64)
var rlViewport func(x int32, y int32, width int32, height int32)
Expand Down Expand Up @@ -139,7 +138,6 @@ func initRlglPurego() {
purego.RegisterLibFunc(&rlTranslatef, raylibDll, "rlTranslatef")
purego.RegisterLibFunc(&rlRotatef, raylibDll, "rlRotatef")
purego.RegisterLibFunc(&rlScalef, raylibDll, "rlScalef")
purego.RegisterLibFunc(&rlMultMatrix, raylibDll, "rlMultMatrix")
purego.RegisterLibFunc(&rlFrustum, raylibDll, "rlFrustum")
purego.RegisterLibFunc(&rlOrtho, raylibDll, "rlOrtho")
purego.RegisterLibFunc(&rlViewport, raylibDll, "rlViewport")
Expand Down Expand Up @@ -300,12 +298,6 @@ func Scalef(x float32, y float32, z float32) {
rlScalef(x, y, z)
}

// MultMatrix - Multiply the current matrix by another matrix
func MultMatrix(m Matrix) {
f := MatrixToFloat(m)
rlMultMatrix(unsafe.Pointer(&f[0]))
}

// Frustum .
func Frustum(left float64, right float64, bottom float64, top float64, znear float64, zfar float64) {
rlFrustum(left, right, bottom, top, znear, zfar)
Expand Down

0 comments on commit 4a4f1ef

Please sign in to comment.