Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DanielChappuis/reactphysics3d
/ functions
Functions
2,534 in github.com/DanielChappuis/reactphysics3d
⨍
Functions
2,534
◇
Types & classes
532
↓ 3 callers
Method
reshape
Reshape the view
testbed/src/Scene.h:301
↓ 3 callers
Method
setCenterOfMassLocal
Set the local center of mass of an entity
include/reactphysics3d/components/RigidBodyComponents.h:760
↓ 3 callers
Method
setDiffuseColor
Set the diffuse color
testbed/opengl-framework/src/Light.h:99
↓ 3 callers
Method
setInitOrientationDifferenceInv
Set the rotation impulse
include/reactphysics3d/components/FixedJointComponents.h:417
↓ 3 callers
Method
setWindowDimension
Set the window dimension
testbed/src/Scene.h:317
↓ 3 callers
Method
toArray
Return an array with all the values of the set
include/reactphysics3d/containers/Set.h:475
↓ 3 callers
Method
updateLocalCenterOfMassFromColliders
Compute and set the local-space center of mass of the body using its colliders This method uses the shape, mass density and transforms of the collider
src/body/RigidBody.cpp:367
↓ 3 callers
Method
updateLocalInertiaTensorFromColliders
Compute and set the local-space inertia tensor of the body using its colliders This method uses the shape, mass density and transforms of the collider
src/body/RigidBody.cpp:475
↓ 3 callers
Method
updateMassFromColliders
Compute and set the mass of the body using its colliders This method uses the shape, mass density and transforms of the colliders to set the total mas
src/body/RigidBody.cpp:503
↓ 3 callers
Method
~ConvexMesh
Destructor
testbed/common/ConvexMesh.cpp:120
↓ 2 callers
Method
addColliderToBody
Add a collider to a body component
include/reactphysics3d/components/BodyComponents.h:146
↓ 2 callers
Method
addContacPair
A an associated contact pairs into the contact pairs array of the body
include/reactphysics3d/components/RigidBodyComponents.h:859
↓ 2 callers
Method
addJointToBody
Add a joint to a body component
include/reactphysics3d/components/RigidBodyComponents.h:845
↓ 2 callers
Method
allocate
Allocate memory of a given size (in bytes) and return a pointer to the allocated memory. Allocated memory must be 16-bytes aligned.
src/memory/SingleFrameAllocator.cpp:59
↓ 2 callers
Method
applyLocalTorque
Manually apply an external torque to the body (in local-space). If the body is sleeping, calling this method will wake it up. Note that the force will
src/body/RigidBody.cpp:956
↓ 2 callers
Method
applyWorldForceAtLocalPosition
Manually apply an external force (in world-space) to the body at a given point (in local-space). If the point is not at the center of mass of the body
src/body/RigidBody.cpp:170
↓ 2 callers
Method
askForBroadPhaseCollisionCheck
Ask the broad-phase to test again the collision shapes of the body for collision (as if the body has moved).
src/body/Body.cpp:291
↓ 2 callers
Method
clear
Clear the map
include/reactphysics3d/containers/Map.h:488
↓ 2 callers
Method
clearObsoleteLastFrameCollisionInfos
Delete all the obsolete last frame collision info
src/engine/OverlappingPairs.cpp:452
↓ 2 callers
Function
clipPolygonWithPlane
Clip a polygon against a single plane and return the clipped polygon vertices This method implements the Sutherland–Hodgman polygon clipping algorithm
include/reactphysics3d/mathematics/mathematics_functions.h:332
↓ 2 callers
Function
computeClosestPointOnSegment
Compute and return a point on segment from "segPointA" and "segPointB" that is closest to point "pointC"
include/reactphysics3d/mathematics/mathematics_functions.h:96
↓ 2 callers
Method
createHeightFieldShape
Create and return a height-field collision shape * @param heightField A pointer to a HeightField object * @param scaling Scaling vector for the heigh
src/engine/PhysicsCommon.cpp:512
↓ 2 callers
Method
deleteFace
Delete the face
src/utils/quickhull/QHHalfEdgeStructure.cpp:296
↓ 2 callers
Method
destroyHeightField
Destroy a height-field * @param heightField A pointer to the height field to destroy */
src/engine/PhysicsCommon.cpp:739
↓ 2 callers
Method
destroyHeightFieldShape
Destroy a height-field shape * @param heightFieldShape A pointer to the height field shape to destroy */
src/engine/PhysicsCommon.cpp:525
↓ 2 callers
Method
destroyTriangleMesh
Destroy a triangle mesh * @param triangleMesh A pointer to the triangle mesh to destroy */
src/engine/PhysicsCommon.cpp:728
↓ 2 callers
Method
enableLimit
Enable/Disable the limits of the joint * @param isLimitEnabled True if you want to enable the limits of the joint and * false o
src/constraint/HingeJoint.cpp:90
↓ 2 callers
Method
enterBlockOfCode
Called when we enter the block of code corresponding to this profile node
src/utils/Profiler.cpp:74
↓ 2 callers
Method
format
Format a log message
include/reactphysics3d/utils/DefaultLogger.h:144
↓ 2 callers
Method
getBody1
Return the reference to the body 1 * @return The first body involved in the joint */
src/constraint/Joint.cpp:41
↓ 2 callers
Method
getBody2
test/tests/collision/TestWorldQueries.h:120
↓ 2 callers
Method
getBody2
Return the reference to the body 2 * @return The second body involved in the joint */
src/constraint/Joint.cpp:50
↓ 2 callers
Method
getBounciness
Return the bounciness * @return Bounciness factor (between 0 and 1) where 1 is very bouncy */
include/reactphysics3d/engine/Material.h:101
↓ 2 callers
Method
getCollider2
Return a pointer to the second collider in contact
src/collision/OverlapCallback.cpp:45
↓ 2 callers
Method
getDataType
Return the vertex data type * @return The data type of the vertices in the array */
include/reactphysics3d/collision/VertexArray.h:94
↓ 2 callers
Method
getDynamicAABBTreeNodeDataInt
Return the integer data of leaf node of the dynamic AABB tree
src/collision/shapes/ConcaveMeshShape.cpp:288
↓ 2 callers
Method
getFaces
Return a pointer to the first face in the linked-list of faces
include/reactphysics3d/utils/quickhull/QHHalfEdgeStructure.h:380
↓ 2 callers
Method
getFrictionCoefficientSqrt
Return the square root friction coefficient
include/reactphysics3d/engine/Material.h:136
↓ 2 callers
Method
getHeader
Return the header to write at the beginning of the stream
include/reactphysics3d/utils/DefaultLogger.h:72
↓ 2 callers
Method
getHeightDataType
Return the type of height value in the height-field
include/reactphysics3d/collision/HeightField.h:245
↓ 2 callers
Method
getHeightField
Return a pointer to the internal height-field
include/reactphysics3d/collision/shapes/HeightFieldShape.h:109
↓ 2 callers
Method
getId
Return the id of the shape
include/reactphysics3d/collision/shapes/CollisionShape.h:188
↓ 2 callers
Method
getImpulseMotor
Return the accumulated impulse for the motor constraint;
include/reactphysics3d/components/HingeJointComponents.h:717
↓ 2 callers
Method
getIndex
Return the lookup index of the entity in a array
include/reactphysics3d/engine/Entity.h:106
↓ 2 callers
Method
getIndexDataType
Return the index data type * @return The data type of the indices in the array */
include/reactphysics3d/collision/PolygonVertexArray.h:163
↓ 2 callers
Method
getIndicesStart
Return the pointer to the start of the indices array * @return A pointer to the start of the face indices array of the mesh */
include/reactphysics3d/collision/PolygonVertexArray.h:221
↓ 2 callers
Method
getIndicesStride
Return the indices stride (number of bytes) * @return The number of bytes between two consecutive face indices */
include/reactphysics3d/collision/PolygonVertexArray.h:195
↓ 2 callers
Method
getIntegerHeightScale
Return the integer height scale * @return The integer height scale */
include/reactphysics3d/collision/HeightField.h:240
↓ 2 callers
Method
getInverse
Return the inverse matrix
include/reactphysics3d/mathematics/Matrix2x2.h:232
↓ 2 callers
Method
getIsDebugRenderingEnabled
Return true if the debug rendering is enabled * @return True if the debug rendering is enabled and false otherwise */
include/reactphysics3d/engine/PhysicsWorld.h:679
↓ 2 callers
Method
getIsRestingContact
Return true if the contact is a resting contact * @return True if it is a resting contact */
include/reactphysics3d/constraint/ContactPoint.h:193
↓ 2 callers
Method
getIsTrigger
Return true if the collider is a trigger * @return True if this collider is a trigger and false otherwise */
src/collision/Collider.cpp:240
↓ 2 callers
Method
getLocalBounds
Return the local bounds of the shape in x, y and z directions This method is used to compute the AABB of the box * @return The AABB of the shape */
src/collision/shapes/BoxShape.cpp:149
↓ 2 callers
Method
getLocalSupportPointWithMargin
Return a local support point in a given direction with the object margin
src/collision/shapes/ConvexShape.cpp:40
↓ 2 callers
Method
getMaxHeight
Return the maximum height value of the height-field * @return The maximum height value of the height-field */
include/reactphysics3d/collision/HeightField.h:232
↓ 2 callers
Method
getMaxMotorForce
Return the maximum motor force * @return The maximum force of the joint motor (in Newton x meters) */
src/constraint/SliderJoint.cpp:285
↓ 2 callers
Method
getMaxMotorTorque
Return the maximum motor torque * @return The maximum torque of the joint motor (in Newtons) */
src/constraint/HingeJoint.cpp:242
↓ 2 callers
Method
getMinHeight
Return the minimum height value of the height-field * @return The mimimum height value of the height-field */
include/reactphysics3d/collision/HeightField.h:224
↓ 2 callers
Method
getMotorSpeed
Return the motor speed * @return The current speed of the joint motor (in radian per second) */
src/constraint/HingeJoint.cpp:234
↓ 2 callers
Method
getName
Return the name of the node
include/reactphysics3d/utils/Profiler.h:468
↓ 2 callers
Method
getNbColumns
Return the number of columns in the height-field (along the local z direction) * @return The number of columns of the grid (along z direction) */
include/reactphysics3d/collision/HeightField.h:216
↓ 2 callers
Method
getNbIslands
Return the number of islands
include/reactphysics3d/engine/Islands.h:101
↓ 2 callers
Method
getNbParts
Return the number of parts in the mesh
testbed/opengl-framework/src/Mesh.h:216
↓ 2 callers
Method
getNbRows
Return the number of rows in the height-field (along the local x direction) * @return The number of rows of the grid (along x direction) */
include/reactphysics3d/collision/HeightField.h:208
↓ 2 callers
Method
getNbTotalCalls
Return the total number of call of the corresponding block of code
include/reactphysics3d/utils/Profiler.h:473
↓ 2 callers
Method
getOpenGLMatrix
Get the OpenGL matrix of the transform
src/mathematics/Transform.cpp:43
↓ 2 callers
Method
getOutputStream
Return the output stream
test/Test.h:145
↓ 2 callers
Method
getPenetrationDepth
Return the penetration depth of the contact * @return the penetration depth (in meters) */
include/reactphysics3d/constraint/ContactPoint.h:209
↓ 2 callers
Method
getPenetrationImpulse
Return the cached penetration impulse * @return The penetration impulse */
include/reactphysics3d/constraint/ContactPoint.h:171
↓ 2 callers
Method
getSiblingNode
Return a pointer to a sibling node
include/reactphysics3d/utils/Profiler.h:458
↓ 2 callers
Method
getStride
Return the vertices stride (number of bytes) * @return The number of bytes between two vertices */
include/reactphysics3d/collision/VertexArray.h:110
↓ 2 callers
Method
getTail
Return the tail to write at the end of the stream
include/reactphysics3d/utils/DefaultLogger.h:77
↓ 2 callers
Method
getTotalTime
Return the total time spent in the block of code
include/reactphysics3d/utils/Profiler.h:478
↓ 2 callers
Method
getTriangleVerticesIndices
Return the indices of the three vertices of a given triangle in the array
src/collision/shapes/ConcaveMeshShape.cpp:106
↓ 2 callers
Method
getTriangleVerticesNormals
Return the three vertex normals (in the array outVerticesNormals) of a triangle
src/collision/shapes/ConcaveMeshShape.cpp:91
↓ 2 callers
Method
getUnit
Return the unit quaternion
include/reactphysics3d/mathematics/Quaternion.h:261
↓ 2 callers
Method
getVertexDataType
Return the vertex data type * @return The data type of the vertices in the array */
include/reactphysics3d/collision/PolygonVertexArray.h:155
↓ 2 callers
Method
getVertexNormalDataType
Return the vertex normal data type * @return The data type of the normals in the array */
include/reactphysics3d/collision/TriangleVertexArray.h:184
↓ 2 callers
Method
getVertices
Return a pointer to the first vertex in the linked-list of vertices
include/reactphysics3d/utils/quickhull/QHHalfEdgeStructure.h:390
↓ 2 callers
Method
getVerticesStart
Return the pointer to the start of the vertices array * @return A pointer to the start of the vertex array of the mesh */
include/reactphysics3d/collision/PolygonVertexArray.h:213
↓ 2 callers
Method
getVerticesStride
Return the vertices stride (number of bytes) * @return The number of bytes between two vertices */
include/reactphysics3d/collision/PolygonVertexArray.h:187
↓ 2 callers
Method
initWithEulerAngles
Initialize the quaternion using Euler angles
src/mathematics/Quaternion.cpp:207
↓ 2 callers
Method
initialize
Initialize the constraint solver
src/systems/ConstraintSolverSystem.cpp:60
↓ 2 callers
Method
inverse
Inverse the quaternion
include/reactphysics3d/mathematics/Quaternion.h:252
↓ 2 callers
Method
isEnd
Return true if we are at the end of a branch of the profiler tree
include/reactphysics3d/utils/Profiler.h:408
↓ 2 callers
Method
onContact
Called when some contacts occur
src/utils/DebugRenderer.cpp:530
↓ 2 callers
Method
raycast
Raycast method with feedback information Note that only the first triangle hit by the ray in the mesh will be returned, even if the ray hits many tria
src/collision/HeightField.cpp:258
↓ 2 callers
Method
release
Release previously allocated memory.
src/memory/SingleFrameAllocator.cpp:94
↓ 2 callers
Method
removeAllContacPairs
Remove all the contact pairs of a body
include/reactphysics3d/components/RigidBodyComponents.h:866
↓ 2 callers
Method
removeJointFromBody
Remove a joint from a body component
include/reactphysics3d/components/RigidBodyComponents.h:852
↓ 2 callers
Method
reset
Reset the profiling of the node
src/utils/Profiler.cpp:106
↓ 2 callers
Method
resetPoints
testbed/scenes/raycast/RaycastScene.h:92
↓ 2 callers
Method
rotateAroundLocalPoint
Rotate the object around a local-space point
testbed/opengl-framework/src/Object3D.h:136
↓ 2 callers
Method
selectNarrowPhaseAlgorithm
Return the corresponding narrow-phase algorithm type to use for two collision shapes
src/collision/narrowphase/CollisionDispatch.cpp:208
↓ 2 callers
Method
setBodyDisabled
Notify the world if a body is disabled (sleeping) or not
src/engine/PhysicsWorld.cpp:168
↓ 2 callers
Method
setBroadPhaseId
Set the broad-phase id of a given collider
include/reactphysics3d/components/ColliderComponents.h:294
↓ 2 callers
Method
setConstrainedOrientation
Set the constrained orientation of an entity
include/reactphysics3d/components/RigidBodyComponents.h:752
↓ 2 callers
Method
setConstrainedPosition
Set the constrained position of an entity
include/reactphysics3d/components/RigidBodyComponents.h:744
↓ 2 callers
Method
setDimensions
Set the dimensions of the camera
testbed/opengl-framework/src/Camera.h:122
↓ 2 callers
Method
setHasSimulationCollider
Set whether the body has at least one simulation collider
include/reactphysics3d/components/BodyComponents.h:217
← previous
next →
301–400 of 2,534, ranked by callers