You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LPoint3f roundPos (const LPoint3f& pos, const int roundx, const int roundy, const int roundz);
class Grid {
NodePath grid;
public:
Grid ();
void Init (const NodePath& parent, WindowFramework* window, const int count); // Initialize grid. Must be called before use, only once.
void place (const LPoint3f& center, const int round, const float scale); // Place grid on the scene correctly (grid cells look like they stay in the same position).