This commit is contained in:
Zebra 2020-01-20 00:14:49 +01:00
parent 56ea7050a6
commit 4c9ba69910
2 changed files with 27 additions and 27 deletions

View file

@ -233,16 +233,16 @@ func EndTextureMode() {
// BeginScissorMode - Begins scissor mode (define screen area for following drawing)
func BeginScissorMode(x, y, width, height int32) {
cx := (C.int)(x)
cy := (C.int)(y)
cwidth := (C.int)(width)
cheight := (C.int)(height)
C.BeginScissorMode(cx, cy, cwidth, cheight)
cx := (C.int)(x)
cy := (C.int)(y)
cwidth := (C.int)(width)
cheight := (C.int)(height)
C.BeginScissorMode(cx, cy, cwidth, cheight)
}
// EndScissorMode - Ends scissor mode
func EndScissorMode() {
C.EndScissorMode()
C.EndScissorMode()
}
// GetMouseRay - Returns a ray trace from mouse position