Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::sim::PhysicsSceneBody Struct Reference

#include <physics_scene.h>

Public Attributes

std::array< int64_t, 3 > halfExtent {}
uint64_t massMilligrams = 0
std::array< int64_t, 3 > position {}
std::array< int32_t, 4 > rotation {0, 0, 0, 1 << 30}
uint64_t spawnTick = 0
uint64_t removeTick = UINT64_MAX

Detailed Description

Definition at line 14 of file physics_scene.h.

Member Data Documentation

◆ halfExtent

std::array<int64_t, 3> bicameral::sim::PhysicsSceneBody::halfExtent {}

Definition at line 16 of file physics_scene.h.

Referenced by bicameral::sim::MakePhysicsBody().

◆ massMilligrams

uint64_t bicameral::sim::PhysicsSceneBody::massMilligrams = 0

Definition at line 19 of file physics_scene.h.

Referenced by bicameral::sim::MakePhysicsBody().

◆ position

std::array<int64_t, 3> bicameral::sim::PhysicsSceneBody::position {}

◆ removeTick

uint64_t bicameral::sim::PhysicsSceneBody::removeTick = UINT64_MAX

Definition at line 27 of file physics_scene.h.

Referenced by bicameral::sim::MakePhysicsBody().

◆ rotation

std::array<int32_t, 4> bicameral::sim::PhysicsSceneBody::rotation {0, 0, 0, 1 << 30}

Definition at line 23 of file physics_scene.h.

Referenced by bicameral::sim::MakePhysicsBody().

◆ spawnTick

uint64_t bicameral::sim::PhysicsSceneBody::spawnTick = 0

The documentation for this struct was generated from the following file: