Table of Contents

Method FloorDiv

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

FloorDiv(int)

Divides each coordinate with r, using integer floor division.

[Version(2, 2, 0)]
public GridPoint2 FloorDiv(int r)

Parameters

r int

Returns

GridPoint2

FloorDiv(GridPoint2)

Gives a new point that represents the first point divided by the second point component-wise.The division is integer division.

[Version(2, 2, 0)]
public GridPoint2 FloorDiv(GridPoint2 otherPoint)

Parameters

otherPoint GridPoint2

Returns

GridPoint2