sdk/extensions/authoringCommon/source/NvBlastExtAuthoringInternalCommon.h File Reference

#include "NvBlastExtAuthoringTypes.h"
#include "NvBlastPxSharedHelpers.h"
#include <PxVec2.h>
#include <PxVec3.h>
#include <PxPlane.h>
#include <PxBounds3.h>
#include <PxMath.h>
#include <algorithm>

Go to the source code of this file.

Classes

struct  Nv::Blast::EdgeComparator
struct  Nv::Blast::EdgeWithParent
struct  Nv::Blast::VrtComp
struct  Nv::Blast::VrtPositionComparator

Namespaces

namespace  Nv
namespace  Nv::Blast

Defines

#define BBOX_TEST_EPS   1e-5f
#define MAXIMUM_EXTENT   1000 * 1000 * 1000
#define NORM_COMPARISON_OFFSET   1e-3f
#define POS_COMPARISON_OFFSET   1e-5f

Enumerations

enum  Nv::Blast::ProjectionDirections { Nv::Blast::YZ_PLANE = 1 << 1, Nv::Blast::XY_PLANE = 1 << 2, Nv::Blast::ZX_PLANE = 1 << 3, Nv::Blast::OPPOSITE_WINDING = 1 << 4 }

Functions

NV_INLINE float Nv::Blast::calculateCollisionHullVolume (const CollisionHull &hull)
NV_INLINE bool Nv::Blast::getPlaneSegmentIntersection (const physx::PxPlane &pl, const physx::PxVec3 &a, const physx::PxVec3 &b, physx::PxVec3 &result)
NV_FORCE_INLINE physx::PxVec2 Nv::Blast::getProjectedPoint (const NvcVec3 &point, ProjectionDirections dir)
NV_FORCE_INLINE physx::PxVec2 Nv::Blast::getProjectedPoint (const physx::PxVec3 &point, ProjectionDirections dir)
NV_FORCE_INLINE physx::PxVec2 Nv::Blast::getProjectedPointWithWinding (const physx::PxVec3 &point, ProjectionDirections dir)
NV_FORCE_INLINE
ProjectionDirections 
Nv::Blast::getProjectionDirection (const physx::PxVec3 &normal)
bool Nv::Blast::operator< (const Edge &a, const Edge &b)
NV_INLINE bool Nv::Blast::weakBoundingBoxIntersection (const physx::PxBounds3 &aBox, const physx::PxBounds3 &bBox)


Define Documentation

#define BBOX_TEST_EPS   1e-5f

#define MAXIMUM_EXTENT   1000 * 1000 * 1000

#define NORM_COMPARISON_OFFSET   1e-3f

#define POS_COMPARISON_OFFSET   1e-5f