Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
PhysX.cpp File Reference
#include "Headers/PhysX.h"
#include "Headers/PhysXActor.h"
#include "Headers/PhysXSceneInterface.h"
#include "Graphs/Headers/SceneGraphNode.h"
#include "Scenes/Headers/Scene.h"
#include "Utility/Headers/Localization.h"
#include "ECS/Components/Headers/BoundsComponent.h"
#include "ECS/Components/Headers/RigidBodyComponent.h"
#include "ECS/Components/Headers/TransformComponent.h"
#include "Platform/File/Headers/FileManagement.h"
#include "Platform/File/Headers/ResourcePath.h"
#include "Platform/Headers/PlatformDataTypes.h"
#include "Platform/Headers/PlatformDefines.h"
#include "Platform/Threading/Headers/SharedMutex.h"
#include "Platform/Video/Buffers/VertexBuffer/Headers/VertexBuffer.h"
#include "Core/Headers/ErrorCodes.h"
#include "Core/Headers/PlatformContextComponent.h"
#include "Core/Headers/Profiler.h"
#include "Core/Math/Headers/Ray.h"
#include "Geometry/Shapes/Headers/Object3D.h"
#include "Environment/Terrain/Headers/Terrain.h"
#include "Environment/Vegetation/Headers/Vegetation.h"
#include <cassert>
#include <common/PxBase.h>
#include <config.h>
#include <cooking/PxCooking.h>
#include <cooking/PxTriangleMeshDesc.h>
#include <extensions/PxDefaultAllocator.h>
#include <extensions/PxDefaultStreams.h>
#include <extensions/PxRigidActorExt.h>
#include <foundation/Px.h>
#include <foundation/PxErrorCallback.h>
#include <foundation/PxErrors.h>
#include <foundation/PxFoundation.h>
#include <foundation/PxPreprocessor.h>
#include <foundation/PxSimpleTypes.h>
#include <geometry/PxBoxGeometry.h>
#include <geometry/PxGeometry.h>
#include <geometry/PxMeshScale.h>
#include <geometry/PxTriangleMesh.h>
#include <geometry/PxTriangleMeshGeometry.h>
#include <Graphs/Headers/SceneNodeFwd.h>
#include <Physics/Headers/PhysicsAPIWrapper.h>
#include <Physics/Headers/PhysicsAsset.h>
#include <PxPhysics.h>
#include <PxRigidBody.h>
#include <PxRigidDynamic.h>
#include <PxRigidStatic.h>
#include <PxShape.h>
#include <utility>
#include <extensions/PxExtensionsAPI.h>
#include <pvd/PxPvd.h>
#include <pvd/PxPvdTransport.h>
#include <foundation/PxPhysicsVersion.h>
#include <cudamanager/PxCudaContextManager.h>
#include <common/PxTolerancesScale.h>
#include <PxDeletionListener.h>

Go to the source code of this file.

Classes

struct  Divide::anonymous_namespace{PhysX.cpp}::DeletionListener
 
struct  Divide::anonymous_namespace{PhysX.cpp}::DvdErrorCallback
 

Namespaces

namespace  Divide
 Handle console commands that start with a forward slash.
 
namespace  Divide::anonymous_namespace{PhysX.cpp}
 

Macros

#define SAFE_RELEASE(X)   if (X != nullptr) { X->release(); X = nullptr;} static_assert(true, "")
 

Variables

constexpr bool Divide::anonymous_namespace{PhysX.cpp}::g_recordMemoryAllocations = false
 
const char * Divide::anonymous_namespace{PhysX.cpp}::g_collisionMeshExtension = "DVDColMesh"
 
const physx::PxTolerancesScale Divide::anonymous_namespace{PhysX.cpp}::g_toleranceScale {}
 
physx::PxPvdInstrumentationFlags Divide::anonymous_namespace{PhysX.cpp}::g_pvdFlags {}
 
physx::PxDefaultAllocator Divide::anonymous_namespace{PhysX.cpp}::g_gDefaultAllocatorCallback
 
const char * Divide::anonymous_namespace{PhysX.cpp}::g_pvd_target_ip = "127.0.0.1"
 
physx::PxU32 Divide::anonymous_namespace{PhysX.cpp}::g_pvd_target_port = 5425
 
physx::PxU32 Divide::anonymous_namespace{PhysX.cpp}::g_pvd_target_timeout_ms = 10
 
Divide::anonymous_namespace{PhysX.cpp}::DeletionListener Divide::anonymous_namespace{PhysX.cpp}::g_deletionListener
 
Divide::anonymous_namespace{PhysX.cpp}::DvdErrorCallback Divide::anonymous_namespace{PhysX.cpp}::g_physxErrorCallback
 

Macro Definition Documentation

◆ SAFE_RELEASE

#define SAFE_RELEASE (   X)    if (X != nullptr) { X->release(); X = nullptr;} static_assert(true, "")

Definition at line 211 of file PhysX.cpp.