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
3
struct
NodeIndex
{
4
int
val
= -1;
5
6
bool
isEmpty
()
const
{
7
return
val
== -1;
8
}
9
10
static
NodeIndex
rootIndex
() {
11
return
NodeIndex
{0};
12
}
13
};
14
NodeIndex
Definition
NodeIndex.h:3
NodeIndex::val
int val
Definition
NodeIndex.h:4
NodeIndex::rootIndex
static NodeIndex rootIndex()
Definition
NodeIndex.h:10
NodeIndex::isEmpty
bool isEmpty() const
Definition
NodeIndex.h:6
src
physics
spatial
NodeIndex.h
Generated by
1.9.8