From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/classPxBroadPhaseExt.html | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/classPxBroadPhaseExt.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxBroadPhaseExt.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxBroadPhaseExt.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxBroadPhaseExt.html new file mode 100644 index 00000000..37902387 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxBroadPhaseExt.html @@ -0,0 +1,99 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxBroadPhaseExt Class Reference + + + + + + + +
+

PxBroadPhaseExt Class Reference
+ +[Extensions] +

#include <PxBroadPhaseExt.h> +

+ +

+List of all members. + + + + + +

Static Public Member Functions

static PxU32 createRegionsFromWorldBounds (PxBounds3 *regions, const PxBounds3 &globalBounds, PxU32 nbSubdiv, PxU32 upAxis=1)
 Creates regions for PxSceneDesc, from a global box.
+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
static PxU32 PxBroadPhaseExt::createRegionsFromWorldBounds (PxBounds3 regions,
const PxBounds3 globalBounds,
PxU32  nbSubdiv,
PxU32  upAxis = 1 
) [static]
+
+
+ +

+Creates regions for PxSceneDesc, from a global box. +

+This helper simply subdivides the given global box into a 2D grid of smaller boxes. Each one of those smaller boxes is a region of interest for the broadphase. There are nbSubdiv*nbSubdiv regions in the 2D grid. The function does not subdivide along the given up axis.

+This is the simplest setup one can use with PxBroadPhaseType::eMBP. A more sophisticated setup would try to cover the game world with a non-uniform set of regions (i.e. not just a grid).

+

Parameters:
+ + + + + +
[out] regions Regions computed from the input global box
[in] globalBounds World-space box covering the game world
[in] nbSubdiv Grid subdivision level. The function will create nbSubdiv*nbSubdiv regions.
[in] upAxis Up axis (0 for X, 1 for Y, 2 for Z).
+
+
Returns:
number of regions written out to the 'regions' array
+
See also:
PxSceneDesc PxBroadPhaseType
+ +
+

+


The documentation for this class was generated from the following file: +
+ +

+Copyright © 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com + + -- cgit v1.2.3