|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
Functions | |
| int32_t | TemperatureOf (const sim::BakedReactionTable &table, const reaction::RxCell &cell) |
| ImVec4 | TemperatureColor (int32_t milliKelvin) |
| sim::LabCellPosition | PositionOf (const std::array< int, 3 > &cell) |
Variables | |
| constexpr int | MAX_KELVIN = static_cast<int>(lab::LAB_MAX_TEMPERATURE_MILLIKELVIN / 1000) |
| constexpr float | SLICE_CELL_PIXELS = 22.0f |
| constexpr float | HOT_KELVIN = 2000.0f |
| constexpr uint32_t | AUTO_IGNITE_TICK = 3 |
| constexpr uint32_t | AUTO_TICKS = 60 |
| constexpr uint32_t | AUTO_IGNITE_MILLIKELVIN = 1500000 |
| sim::LabCellPosition bicameral::editor::anonymous_namespace{lab_panel.cpp}::PositionOf | ( | const std::array< int, 3 > & | cell | ) |
Definition at line 38 of file lab_panel.cpp.
References PositionOf().
Referenced by PositionOf().
| ImVec4 bicameral::editor::anonymous_namespace{lab_panel.cpp}::TemperatureColor | ( | int32_t | milliKelvin | ) |
Definition at line 32 of file lab_panel.cpp.
References HOT_KELVIN, and TemperatureColor().
Referenced by TemperatureColor().
| int32_t bicameral::editor::anonymous_namespace{lab_panel.cpp}::TemperatureOf | ( | const sim::BakedReactionTable & | table, |
| const reaction::RxCell & | cell ) |
Definition at line 27 of file lab_panel.cpp.
References TemperatureOf(), and bicameral::sim::BakedReactionTable::View().
Referenced by TemperatureOf().
|
constexpr |
Definition at line 25 of file lab_panel.cpp.
|
constexpr |
Definition at line 23 of file lab_panel.cpp.
|
constexpr |
Definition at line 24 of file lab_panel.cpp.
|
constexpr |
Definition at line 20 of file lab_panel.cpp.
Referenced by TemperatureColor().
|
constexpr |
Definition at line 18 of file lab_panel.cpp.
|
constexpr |
Definition at line 19 of file lab_panel.cpp.