Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)
Division, rounding fractional part up.
ASSERT: "result * divisor >= value"; "(result - 1) * divisor lt value".
Use this when dividing into equal parts, and is better to be slightly larger than slightly smaller.
Namespace: Visual3DAssembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public static int CeilingDiv( int value, int divisor )
Public Shared Function CeilingDiv ( _ value As Integer, _ divisor As Integer _ ) As Integer
Parameters
- value
- Int32
- divisor
- Int32