MCPcopy Create free account

hub / github.com/DanielChappuis/reactphysics3d / functions

Functions2,534 in github.com/DanielChappuis/reactphysics3d

↓ 573 callersMethodsize
Return the number of elements in the map
include/reactphysics3d/containers/Map.h:529
↓ 503 callersMethodadd
Add an element into the map Returns true if the item has been inserted and false otherwise.
include/reactphysics3d/containers/Map.h:357
↓ 447 callersFunctionapproxEqual
Function to test if two vectors are (almost) equal
include/reactphysics3d/mathematics/Vector2.h:351
↓ 433 callersMethodraycast
Raycast method with feedback information The method returns the closest hit among all the collision shapes of the body * @param ray The ray used to ra
src/body/Body.cpp:333
↓ 355 callersMethodcontainsKey
Return true if the map contains an item with the given key
include/reactphysics3d/containers/Map.h:351
↓ 255 callersMethodtestPointInside
Return true if a point is inside the collision body This method returns true if a point is inside any collision shape of the body * @param worldPoint
src/body/Body.cpp:310
↓ 210 callersMethodreset
test/tests/collision/TestRaycast.h:85
↓ 199 callersMethodgetEntity
Return the corresponding entity of the body * @return The entity of the body */
include/reactphysics3d/body/Body.h:200
↓ 190 callersMethodsetTransform
Reset the transform
testbed/common/PhysicsObject.cpp:78
↓ 189 callersMethoddot
Scalar product of two vectors (RP3D_FORCE_INLINE)
include/reactphysics3d/mathematics/Vector2.h:187
↓ 151 callersMethodbind
Bind the shader
testbed/opengl-framework/src/Shader.h:148
↓ 135 callersMethodreset
test/tests/collision/TestWorldQueries.h:240
↓ 120 callersMethodend
Return a end iterator
include/reactphysics3d/containers/Map.h:687
↓ 120 callersMethodgetRigidBody
Return a pointer to the rigid body of the box (NULL if it's not a rigid body)
testbed/common/PhysicsObject.h:103
↓ 117 callersMethodclear
Delete all the tests
test/TestSuite.cpp:138
↓ 115 callersMethodunbind
Unbind the shader
testbed/opengl-framework/src/Shader.h:154
↓ 108 callersMethodhasContactPointSimilarTo
test/tests/collision/TestWorldQueries.h:124
↓ 105 callersMethodtestCollision
Test collision and report contacts between two bodies.
src/systems/CollisionDetectionSystem.cpp:1838
↓ 91 callersMethodsetColor
Set the color of the box
testbed/common/PhysicsObject.h:88
↓ 90 callersMethodcross
Cross product of two vectors (RP3D_FORCE_INLINE)
include/reactphysics3d/mathematics/Vector3.h:212
↓ 88 callersMethodsetSleepingColor
Set the sleeping color of the box
testbed/common/PhysicsObject.h:93
↓ 82 callersMethodgetNbContactPairs
test/tests/collision/TestWorldQueries.h:99
↓ 80 callersMethodareCollidersColliding
test/tests/collision/TestWorldQueries.h:171
↓ 80 callersMethodgetCollisionData
test/tests/collision/TestWorldQueries.h:175
↓ 80 callersMethodgetTotalNbContactPoints
test/tests/collision/TestWorldQueries.h:103
↓ 80 callersMethodgetVertex
Return the coordinates of a given vertex
src/collision/VertexArray.cpp:48
↓ 79 callersMethodgetEntityIndex
Return the index in the arrays for a given entity
include/reactphysics3d/components/Components.h:170
↓ 78 callersMethodremove
Remove the element pointed by some iterator This method returns an iterator pointing to the element after the one that has been removed
include/reactphysics3d/containers/Map.h:428
↓ 74 callersMethodbegin
Return a begin iterator
include/reactphysics3d/containers/Map.h:664
↓ 74 callersMethodgetBody1
test/tests/collision/TestWorldQueries.h:116
↓ 70 callersMethodcontains
Return true if the set contains a given value
include/reactphysics3d/containers/Set.h:350
↓ 68 callersMethodfind
Try to find an item of the map given a key. The method returns an iterator to the found item or an iterator pointing to the end if not found
include/reactphysics3d/containers/Map.h:541
↓ 68 callersMethodgetCollider
Return the collider
testbed/common/Box.h:102
↓ 61 callersMethodlengthSquare
Return the square of the length of the vector
include/reactphysics3d/mathematics/Vector2.h:182
↓ 59 callersMethodgetInverse
Return the inverse matrix
src/mathematics/Matrix3x3.cpp:33
↓ 57 callersMethodcreate
Create the shader
testbed/opengl-framework/src/Shader.cpp:55
↓ 57 callersMethod~Vector3
Constructor
testbed/opengl-framework/src/maths/Vector3.h:56
↓ 56 callersMethodisHit
test/tests/collision/TestDynamicAABBTree.h:56
↓ 56 callersMethodsetBounciness
Set the bounciness. The bounciness should be a value between 0 and 1. The value 1 is used for a very bouncy body and zero is used for a body that is n
include/reactphysics3d/engine/Material.h:111
↓ 50 callersMethodtestOverlap
Return true if two bodies overlap Use this method if you are not interested in contacts but if you simply want to know if the two bodies overlap. If y
src/engine/PhysicsWorld.cpp:217
↓ 49 callersMethoddestroy
Destroy the data used to render AABBs
testbed/common/AABB.cpp:45
↓ 48 callersMethodnormalize
Normalize the vector
include/reactphysics3d/mathematics/Vector2.h:192
↓ 48 callersMethodsetToZero
include/reactphysics3d/mathematics/Vector2.h:165
↓ 44 callersMethodhasOverlapWithBody
test/tests/collision/TestWorldQueries.h:244
↓ 40 callersMethodcreateRigidBody
Create a rigid body into the physics world * @param transform Transformation from body local-space to world-space * @return A pointer to the body tha
src/engine/PhysicsWorld.cpp:401
↓ 39 callersMethodcopyDataIntoVBO
Copy data into the VBO
testbed/opengl-framework/src/VertexBufferObject.cpp:64
↓ 38 callersMethodaddCollider
Create a new collider and add it to the body This method will return a pointer to a new collider. A collider is an object with a collision shape that
src/body/Body.cpp:69
↓ 38 callersMethodclear
Clear
src/collision/narrowphase/NarrowPhaseInput.cpp:52
↓ 38 callersMethodrelease
Release previously allocated memory.
src/memory/HeapAllocator.cpp:215
↓ 36 callersMethodcapacity
Return the capacity of the map
include/reactphysics3d/containers/Map.h:534
↓ 35 callersMethodgetBroadPhaseId
Return the broad-phase id
src/collision/Collider.cpp:153
↓ 33 callersMethodsetIsSimulationCollider
Set whether the collider can generate contacts for the simulation of the associated body Note that a collider cannot be a simulation collider and a tr
src/collision/Collider.cpp:271
↓ 33 callersMethodsetMatrix4x4Uniform
Set a 4x4 matrix uniform value to this shader (be careful if the uniform is not used in the shader, the compiler will remove it, then when you will tr
testbed/opengl-framework/src/Shader.h:292
↓ 32 callersMethodaddBack
Add an element at the end of the deque
include/reactphysics3d/containers/Deque.h:307
↓ 31 callersMethodallocate
Allocate memory of a given size (in bytes) and return a pointer to the allocated memory.
src/memory/HeapAllocator.cpp:122
↓ 31 callersMethodgetVertexPosition
Return the position of a given vertex
include/reactphysics3d/collision/shapes/BoxShape.h:192
↓ 30 callersMethodpush
Push an element into the stack
include/reactphysics3d/containers/Stack.h:144
↓ 29 callersMethodaddVertex
Add a vertex * @param externalIndex Index of the vertex in the external user vertex data array * @return A pointer to the new vertex */
src/utils/quickhull/QHHalfEdgeStructure.cpp:85
↓ 28 callersMethodaddFace
Add a face * @param faceVertices Array of the vertices in a face (ordered in CCW order as seen from outside * the polyhedron). Th
src/utils/quickhull/QHHalfEdgeStructure.cpp:109
↓ 28 callersMethodgetBody
Return the parent body * @return Pointer to the parent body */
include/reactphysics3d/collision/Collider.h:208
↓ 28 callersMethodgetNbEnabledComponents
Return the number of enabled components
include/reactphysics3d/components/Components.h:165
↓ 28 callersMethodgetNbVertices
Return the number of vertices in the mesh
src/collision/shapes/ConcaveMeshShape.cpp:113
↓ 28 callersMethodisLeaf
Return true if the node is a leaf of the tree
include/reactphysics3d/collision/broadphase/DynamicAABBTree.h:272
↓ 27 callersFunctionclamp
Function that returns the result of the "value" clamped by two others values "lowerLimit" and "upperLimit"
include/reactphysics3d/mathematics/mathematics_functions.h:48
↓ 27 callersMethodcreateJoint
Create a joint between two bodies in the world and return a pointer to the new joint * @param jointInfo The information that is necessary to create th
src/engine/PhysicsWorld.cpp:483
↓ 26 callersMethodgetInverse
Return the inverse matrix
testbed/opengl-framework/src/maths/Matrix3.h:154
↓ 25 callersMethodgetNbFaces
Return the number of triangles
testbed/opengl-framework/src/Mesh.h:206
↓ 25 callersMethodupdateMassPropertiesFromColliders
Compute and set the center of mass, the mass and the local-space inertia tensor of the body using its colliders This method uses the shape, mass densi
src/body/RigidBody.cpp:548
↓ 24 callersMethodaddTest
Add a unit test in the test suite
test/TestSuite.cpp:63
↓ 24 callersMethodnormalize
Normalize the vector and return it
testbed/opengl-framework/src/maths/Vector2.h:133
↓ 24 callersMethodsetAllValues
Set all the values of the vector
include/reactphysics3d/mathematics/Vector2.h:171
↓ 23 callersMethodgetAttribLocation
Return the location of an attribute variable inside a shader program
testbed/opengl-framework/src/Shader.h:174
↓ 22 callersMethodallocate
Allocate more memory
include/reactphysics3d/containers/Stack.h:62
↓ 22 callersMethodgetFaceNormal
Return the normal vector of a given face of the polyhedron
include/reactphysics3d/collision/shapes/BoxShape.h:211
↓ 22 callersMethodgetType
Return the type of the joint * @return The type of the joint */
src/constraint/Joint.cpp:60
↓ 22 callersMethodgetUnit
Return the corresponding unit vector
src/mathematics/Vector2.cpp:33
↓ 21 callersMethodrelease
Release previously allocated memory.
include/reactphysics3d/memory/MemoryManager.h:122
↓ 21 callersMethodsetMassDensity
Set the mass density of the collider * @param massDensity The mass density of the collider */
include/reactphysics3d/engine/Material.h:149
↓ 21 callersMethodupdateObject
Update the dynamic tree after an object has moved. If the new AABB of the object that has moved is still inside its fat AABB, then nothing is done. Ot
src/collision/broadphase/DynamicAABBTree.cpp:186
↓ 20 callersMethodaddFileDestination
Add a log file destination to the logger
testbed/src/TestbedLogger.cpp:90
↓ 19 callersMethodgetCollisionShape
Return a pointer to the collision shape * @return Pointer to the collision shape */
src/collision/Collider.cpp:140
↓ 18 callersMethodgetIsEntityDisabled
Return true if an entity is sleeping
include/reactphysics3d/components/Components.h:136
↓ 18 callersMethodlength
Return the length of the vector
include/reactphysics3d/mathematics/Vector2.h:177
↓ 18 callersMethodrelease
Destroy and release everything that has been allocated
src/engine/PhysicsCommon.cpp:134
↓ 18 callersMethodsetEventListener
Set an event listener object to receive events callbacks. If you use "nullptr" as an argument, the events callbacks will be disabled. * @param eventLi
include/reactphysics3d/engine/PhysicsWorld.h:663
↓ 17 callersMethodaddFront
Add an element at the front of the deque
include/reactphysics3d/containers/Deque.h:327
↓ 17 callersMethoddot
Dot product operator
testbed/opengl-framework/src/maths/Vector4.h:136
↓ 17 callersMethodgetBodyType
Return the body type of a body
include/reactphysics3d/components/RigidBodyComponents.h:456
↓ 17 callersMethodgetMatrix
Return the orientation matrix corresponding to this quaternion
src/mathematics/Quaternion.cpp:138
↓ 17 callersMethodmergeTwoAABBs
Replace the current AABB with a new AABB that is the union of two AABBs in parameters
include/reactphysics3d/collision/shapes/AABB.h:234
↓ 17 callersMethodreportAllShapesOverlappingWithAABB
Report all shapes overlapping with the AABB given in parameter.
src/collision/TriangleMesh.cpp:335
↓ 17 callersMethodsetAngularDamping
Set the angular damping factor. * @param angularDamping The angular damping factor of this body (in range [0; +inf]). Zero means no damping. */
src/body/RigidBody.cpp:769
↓ 17 callersMethodsetType
Set the type of the body The type of the body can either STATIC, KINEMATIC or DYNAMIC as described bellow: STATIC : A static body is simulated as if i
src/body/RigidBody.cpp:66
↓ 16 callersMethodgetVertexAt
Return the vertex (local-coordinates) of the height field at a given (x,y) position
src/collision/HeightField.cpp:399
↓ 16 callersMethodsetLinearDamping
Set the linear damping factor. * @param linearDamping The linear damping factor of this body (in range [0; +inf]). Zero means no damping. */
src/body/RigidBody.cpp:748
↓ 16 callersMethodto_string
Return the string representation of the shape
src/collision/HeightField.cpp:412
↓ 15 callersMethodgetHeight
Get the height
testbed/opengl-framework/src/Camera.h:175
↓ 15 callersMethodgetVolume
Compute and return the volume of the collision shape Note that we approximate the volume of a concave shape with the volume of its AABB
src/collision/shapes/ConcaveShape.cpp:41
↓ 15 callersMethodinit
Initialization
src/engine/PhysicsCommon.cpp:63
↓ 15 callersFunctionisPowerOfTwo
Return true if a number is a power of two
include/reactphysics3d/mathematics/mathematics_functions.h:406
next →1–100 of 2,534, ranked by callers