|
NSUNI/NSLAR Library a250670
|
Contains structures and functions for working with static collisions. More...
#include "NNL/common/enum_flag.hpp"#include "NNL/common/fixed_type.hpp"#include "NNL/common/io.hpp"#include "NNL/simple_asset/smodel.hpp"#include "NNL/utility/array3d.hpp"Go to the source code of this file.
Classes | |
| struct | nnl::collision::Triangle |
| Struct defining a single triangle used in collision detection. More... | |
| struct | nnl::collision::Edge |
| Struct defining a wall edge used in collision detection. More... | |
| struct | nnl::collision::CollisionTest |
| Struct representing a set of geometric shapes for collision testing. More... | |
| struct | nnl::collision::Collision |
| Struct that contains all necessary information for collision detection. More... | |
| struct | nnl::collision::ConvertParam |
| Parameters for converting a simplified mesh to the in-game collision format. More... | |
Namespaces | |
| namespace | nnl |
| namespace | nnl::collision |
| Contains structures and functions for working with static collisions. | |
Functions | |
| SModel | nnl::collision::Convert (const Collision &collision) |
| Converts collision data from the in-game format to a simplified model representation. | |
| Collision | nnl::collision::Convert (SModel &&smodel, const std::vector< ConvertParam > &mesh_params, bool auto_wall=true, u32 shift=5) |
| Converts a simplified representation of a model to the in-game collision format. | |
| bool | nnl::collision::IsOfType (BufferView buffer) |
| Tests if the provided file is a collision config. | |
| Collision | nnl::collision::Import (BufferView buffer) |
| Parses a binary file and converts it to a structured collision. | |
| Buffer | nnl::collision::Export (const Collision &collision) |
| Converts a collision config to a binary file representation. | |
| std::vector< ConvertParam > | nnl::collision::GenerateConvertParam (const Collision &collision) |
| Generates conversion parameters for SMesh objects to achieve a similar in-game collision config when converting back to it. | |
Contains structures and functions for working with static collisions.