LoadBrush Rotate 180 Degrees

Blitz3D Forums/Blitz3D Programming/LoadBrush Rotate 180 Degrees

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Graphics3D 640,480

cam = CreateCamera()
MoveEntity cam,0,0,-4

br = LoadBrush("dirty.png")
cube = CreateCube()
PaintEntity cube,br

tex = GetBrushTexture(br)

While Not KeyDown(1)
	RotateTexture tex,ang
	ang = ang +1
	RenderWorld
	Flip
Wend
End