NcEngine
PhysicsUtility.h File Reference
#include "ncengine/physics/RigidBody.h"
#include "ncengine/physics/Shape.h"
#include <span>
#include <string_view>

Go to the source code of this file.

Functions

auto nc::ToString (BodyType type) -> std::string_view
 
auto nc::ToBodyType (std::string_view bodyType) -> BodyType
 
auto nc::GetBodyTypeNames () -> std::span< const std::string_view >
 
auto nc::ToString (ShapeType type) -> std::string_view
 
auto nc::ToShapeType (std::string_view shapeType) -> ShapeType
 
auto nc::GetShapeTypeNames () -> std::span< const std::string_view >
 
auto nc::ToString (ConstraintType type) -> std::string_view
 
auto nc::ToConstraintType (std::string_view constraintType) -> ConstraintType
 
auto nc::GetConstraintTypeNames () -> std::span< const std::string_view >
 

Detailed Description