3DGDIRenderer/3DGDIRender/3DInterfaces.vb
2019-09-27 10:46:19 +01:00

31 lines
1.1 KiB
VB.net

'
' Created by SharpDevelop.
' User: 14manvilleA
' Date: 27/09/2019
' Time: 10:16
'
' To change this template use Tools | Options | Coding | Edit Standard Headers.
'
Public Interface ICoordinate3D
Inherits IRotatable, IPositionable
Sub scalePoint(viewWidth As Single, viewHeight As Single, fov As Single, viewDistance As Single)
Function returnPoint() As Point3D
Function returnScaledPoint(viewWidth As Single, viewHeight As Single, fov As Single, viewDistance As Single) As Point3D
End Interface
Public Interface ICoordinates3D
Inherits ICoordinate3D
Sub scalePoints(viewWidth As Single, viewHeight As Single, fov As Single, viewDistance As Single)
Function returnPoints() As Point3D()
Function returnScaledPoints(viewWidth As Single, viewHeight As Single, fov As Single, viewDistance As Single) As Point3D()
End Interface
Public Interface IPositionable
Property X As Single
Property Y As Single
Property Z As Single
End Interface
Public Interface IRotatable
Sub RotateX(angle As Single)
Sub RotateY(angle As Single)
Sub RotateZ(angle As Single)
End Interface