Table of Contents

Method RoundToGridPoint

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

RoundToGridPoint(Vector2)

Rounds a Vector2 to a grid point by rounding each coordinate.

public static GridPoint2 RoundToGridPoint(Vector2 point)

Parameters

point Vector2

Returns

GridPoint2