Example #1
0
func RotateSurface90Degrees(src *sdl.Surface, numClockwiseTurns int) *sdl.Surface {
	_numClockwiseTurns := C.int(numClockwiseTurns)
	return (*sdl.Surface)(unsafe.Pointer(C.rotateSurface90Degrees(unsafe.Pointer(src), _numClockwiseTurns)))
}
Example #2
0
func RotateSurface90Degrees(src *sdl.Surface, numClockwiseTurns int) *sdl.Surface {
	return (*sdl.Surface)(ptr(C.rotateSurface90Degrees((*C.SDL_Surface)(ptr(src)), C.int(numClockwiseTurns))))
}