Skip to content
This repository was archived by the owner on Jul 14, 2023. It is now read-only.

Files

Latest commit

00be047 · Nov 19, 2022

History

History
93 lines (76 loc) · 2.05 KB

Readme.md

File metadata and controls

93 lines (76 loc) · 2.05 KB

Physics Library

Smash Hit uses a low level physics library created by Dennis Gustafsson [Source].

While not much research has been done, the library appears to work on the level of algorithms rather than objects. For example, there is a class TdGjk with a few methods that use the GJK distance algorithm.

Classes

Functions

Bodies

  • tdBodyApplyImpulse
  • tdBodySetMassAsBox
  • tdBodySetMassAsInfiniteInertia
  • tdBodySetMassAsSphere
  • tdBoundingBoxAabb

Contexts

  • tdContextCreate
  • tdContextDestroy
  • tdContextSetMaxIterations
  • tdContextSetTolerance

Shapes

  • tdShapecast
  • tdShapeInitBox
  • tdShapeInitCapsule
  • tdShapeInitCone
  • tdShapeInitCylinder
  • tdShapeInitHull
  • tdShapeInitSphere
  • tdShapeSupport

Solver

  • tdSolverCreate
  • tdSolverDestroy
  • tdSolverDisable
  • tdSolverEnable
  • tdSolverGetAngAcc
  • tdSolverGetIterationCount
  • tdSolverGetLinAcc
  • tdSolverGetParam
  • tdSolverInsertAngular
  • tdSolverInsertBody
  • tdSolverInsertContactBB
  • tdSolverInsertLinear
  • tdSolverInsertParticle
  • tdSolverIntegratePos
  • tdSolverIntegrateVel
  • tdSolverIsEnabled
  • tdSolverPopState
  • tdSolverPushState
  • tdSolverReset
  • tdSolverResetState
  • tdSolverSetAngAcc
  • tdSolverSetIterationCount
  • tdSolverSetLinAcc
  • tdSolverSetParam
  • tdSolverSolveConstraints
  • tdSolverStep
  • tdSolverWriteBack

Scene

  • tdDistance
  • tdManifold
  • tdOverlap
  • tdRaycast
  • tdSupportGeneric

Transforms

  • tdTransformInit
  • tdTransformInitM16
  • tdTransformInitP
  • tdTransformInitPQ