Skip to content

Commit

Permalink
More Grammer Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorCash committed Aug 16, 2018
1 parent 57982b5 commit fa14e9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sdk/dgNewton/Newton.cpp
Expand Up @@ -185,11 +185,11 @@ void NewtonDestroy(const NewtonWorld* const newtonWorld)
delete allocator;
}

void NewtonSetPosUpdateCallback(const NewtonWorld* const newtonWorld, NewtonPostUpdateCallback callback)
void NewtonSetPostUpdateCallback(const NewtonWorld* const newtonWorld, NewtonPostUpdateCallback callback)
{
TRACE_FUNCTION(__FUNCTION__);
Newton* const world = (Newton *) newtonWorld;
world->SetPosUpdateCallback(world, (dgPostUpdateCallback) callback);
world->SetPostUpdateCallback(world, (dgPostUpdateCallback) callback);
}


Expand Down Expand Up @@ -1521,7 +1521,7 @@ void NewtonMaterialSetContactGenerationCallback (const NewtonWorld* const newton
@return Nothing.
When the AABB extend of the collision geometry of two bodies overlap, Newton collision system retrieves the material
When the AABB extents of the collision geometry of two bodies overlap, the Newton collision system retrieves the material
interaction that defines the behavior between the pair of bodies. The material interaction is collected from a database of materials,
indexed by the material gruopID assigned to the bodies. If the material is tagged as non collidable,
then no action is taken and the simulation continues.
Expand Down
2 changes: 1 addition & 1 deletion sdk/dgNewton/Newton.h
Expand Up @@ -444,7 +444,7 @@ extern "C" {
NEWTON_API void NewtonDestroy (const NewtonWorld* const newtonWorld);
NEWTON_API void NewtonDestroyAllBodies (const NewtonWorld* const newtonWorld);

NEWTON_API void NewtonSetPosUpdateCallback (const NewtonWorld* const newtonWorld, NewtonPostUpdateCallback callback);
NEWTON_API void NewtonSetPostUpdateCallback (const NewtonWorld* const newtonWorld, NewtonPostUpdateCallback callback);

NEWTON_API void* NewtonAlloc (int sizeInBytes);
NEWTON_API void NewtonFree (void* const ptr);
Expand Down
4 changes: 2 additions & 2 deletions sdk/dgPhysics/dgWorld.h
Expand Up @@ -244,7 +244,7 @@ class dgWorld
dgInt32 GetSolverMode() const;
void SetSolverMode (dgInt32 mode);

void SetPosUpdateCallback (const dgWorld* const newtonWorld, dgPostUpdateCallback callback);
void SetPostUpdateCallback (const dgWorld* const newtonWorld, dgPostUpdateCallback callback);

void EnableThreadOnSingleIsland(dgInt32 mode);
dgInt32 GetThreadOnSingleIsland() const;
Expand Down Expand Up @@ -586,7 +586,7 @@ inline dgFloat32 dgWorld::GetUpdateTime() const
return m_lastExecutionTime;
}

inline void dgWorld::SetPosUpdateCallback (const dgWorld* const newtonWorld, dgPostUpdateCallback callback)
inline void dgWorld::SetPostUpdateCallback(const dgWorld* const newtonWorld, dgPostUpdateCallback callback)
{
m_postUpdateCallback = callback;
}
Expand Down

0 comments on commit fa14e9f

Please sign in to comment.