31#include "vehicle2/PxVehicleAPI.h"
34#pragma clang diagnostic push
35#pragma clang diagnostic ignored "-Wexpansion-to-defined"
37#pragma clang diagnostic push
38#pragma clang diagnostic ignored "-Wexpansion-to-defined"
39#pragma clang diagnostic ignored "-Wdocumentation"
40#pragma clang diagnostic ignored "-Wimplicit-fallthrough"
41#elif PX_LINUX && PX_CLANG
42#pragma clang diagnostic push
43#pragma clang diagnostic ignored "-Wdocumentation"
45#include "rapidjson/document.h"
46#include "rapidjson/prettywriter.h"
47#if (PX_LINUX && PX_CLANG) || PX_SWITCH || PX_OSX
48#pragma clang diagnostic pop
51namespace snippetvehicle2
55using namespace physx::vehicle2;
57bool openDocument(
const char* directory,
const char* filename, rapidjson::Document&);
59bool readCommandResponseParams
62bool writeCommandResponseParams
64 rapidjson::PrettyWriter<rapidjson::StringBuffer>& writer);
66bool readVec3(
const rapidjson::Value& values,
PxVec3& r);
67bool writeVec3(
const PxVec3& r, rapidjson::PrettyWriter<rapidjson::StringBuffer>& writer);
69bool readQuat(
const rapidjson::Value& values,
PxQuat& r);
70bool writeQuat(
const PxQuat& r, rapidjson::PrettyWriter<rapidjson::StringBuffer>& writer);
72bool readTransform(
const rapidjson::Value& values,
PxTransform& r);
73bool writeTransform(
const PxTransform& r, rapidjson::PrettyWriter<rapidjson::StringBuffer>& writer);
This is a quaternion class. For more information on quaternion mathematics consult a mathematics sour...
Definition PxQuat.h:50
3 Element vector class.
Definition PxVec3.h:50
Express a function as a sequence of points {(x, y)} that form a piecewise polynomial.
Definition PxVehicleParams.h:808
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition PxVehicleParams.h:53
A description of the per wheel response to an input command.
Definition PxVehicleCommandParams.h:177