Public Sub muoviObj(scalaX As Single, scalaY As Single, scalaZ As Single, angleX As Long, angleY As Long, angleZ As Long, posX As Single, posY As Single, posZ As Single)
Dim CosRx As Single, CosRy As Single, CosRz As Single
Dim SinRx As Single, SinRy As Single, SinRz As Single
Set creaTex = D3DX.CreateTextureFromFile(Device, filesrc)
End If
End Function
Sub termina(Optional spegni As Boolean = True)
Set DX = Nothing
Set D3D = Nothing
Set Device = Nothing
Set dSprite = Nothing
If spegni Then End
End Sub
Sub creaSchermo2(dxWidth As Long, dxHeight As Long, dxBpp As CONST_D3DFORMAT, Fhwnd As Long, finestra As Boolean, numBackBuffer As Long, Optional debugMode As Boolean)
Dim DispMode As D3DDISPLAYMODE 'descrive il display