|
Fx2D
A C++20 2D rigid-body physics engine
|
YAML parsing and scene-builder functions. More...
Functions | |
| std::string | deIndent (const std::string &raw) |
| template<int N> | |
| FxArray< float > | parseArray (const YAML::Node &node) |
| YAML::Node | LoadSmart (const std::string &textOrPath) |
| FxScene | buildScene (const YAML::Node &config) |
| FxShape | buildShape (const YAML::Node &config) |
| FxVisualShape | buildVisualShape (const YAML::Node &config) |
| FxCollisionShape | buildCollisionShape (const YAML::Node &config) |
| std::shared_ptr< FxEntity > | buildEntity (const std::string &entity_name, const YAML::Node &config) |
| std::shared_ptr< FxJoint > | buildJoint (const std::string &joint_name, const YAML::Node &config, FxScene &scene) |
| FxScene | buildScene (const std::string &textOrPath) |
| std::shared_ptr< FxEntity > | buildEntity (const std::string &entity_name, const std::string &textOrPath) |
| FxShape | buildShape (const std::string &textOrPath) |
| FxVisualShape | buildVisualShape (const std::string &textOrPath) |
| FxVisualShape | buildCollisionShape (const std::string &textOrPath) |
YAML parsing and scene-builder functions.
|
inline |
Definition at line 60 of file YamlUtils.h.
| FxCollisionShape FxYAML::buildCollisionShape | ( | const YAML::Node & | config | ) |
|
inline |
Definition at line 46 of file YamlUtils.h.
| std::shared_ptr< FxEntity > FxYAML::buildEntity | ( | const std::string & | entity_name, |
| const YAML::Node & | config | ||
| ) |
| std::shared_ptr< FxJoint > FxYAML::buildJoint | ( | const std::string & | joint_name, |
| const YAML::Node & | config, | ||
| FxScene & | scene | ||
| ) |
|
inline |
Definition at line 42 of file YamlUtils.h.
| FxScene FxYAML::buildScene | ( | const YAML::Node & | config | ) |
|
inline |
Definition at line 51 of file YamlUtils.h.
| FxShape FxYAML::buildShape | ( | const YAML::Node & | config | ) |
|
inline |
Definition at line 55 of file YamlUtils.h.
| FxVisualShape FxYAML::buildVisualShape | ( | const YAML::Node & | config | ) |
| std::string FxYAML::deIndent | ( | const std::string & | raw | ) |
| YAML::Node FxYAML::LoadSmart | ( | const std::string & | textOrPath | ) |
|
inline |
Definition at line 24 of file YamlUtils.h.