Physics Simulation & Visualization Tool 0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
Octree Class Reference

#include <Octree.h>

Public Member Functions

 Octree ()=default
 
glm::vec3 computeForce (Physics::PhysicsBody *body, double G)
 
double computeHeat (Physics::PhysicsBody *body)
 
void build (const std::vector< Physics::PhysicsBody * > &bodies)
 

Detailed Description

Definition at line 39 of file Octree.h.

Constructor & Destructor Documentation

◆ Octree()

Octree::Octree ( )
default

Member Function Documentation

◆ build()

void Octree::build ( const std::vector< Physics::PhysicsBody * > &  bodies)

Definition at line 111 of file Octree.cpp.

Here is the call graph for this function:

◆ computeForce()

glm::vec3 Octree::computeForce ( Physics::PhysicsBody body,
double  G 
)

Definition at line 136 of file Octree.cpp.

Here is the call graph for this function:

◆ computeHeat()

double Octree::computeHeat ( Physics::PhysicsBody body)

Definition at line 195 of file Octree.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: