Physics Simulation & Visualization Tool 0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
NodeIndex.h
Go to the documentation of this file.
1#pragma once
2
3struct NodeIndex {
4 int val = -1;
5
6 bool isEmpty() const {
7 return val == -1;
8 }
9
11 return NodeIndex{0};
12 }
13};
14
int val
Definition NodeIndex.h:4
static NodeIndex rootIndex()
Definition NodeIndex.h:10
bool isEmpty() const
Definition NodeIndex.h:6