-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel Dworak
committed
Jul 22, 2024
1 parent
e06905e
commit 61d2104
Showing
51 changed files
with
41,449 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import {oimo} from './OimoPhysics.js'; | ||
|
||
// dynamics | ||
export const World = oimo.dynamics.World; | ||
export const RigidBodyType = oimo.dynamics.rigidbody.RigidBodyType; | ||
export const RigidBodyConfig = oimo.dynamics.rigidbody.RigidBodyConfig; | ||
export const ShapeConfig = oimo.dynamics.rigidbody.ShapeConfig; | ||
export const RigidBody = oimo.dynamics.rigidbody.RigidBody; | ||
export const Shape = oimo.dynamics.rigidbody.Shape; | ||
export const SphericalJoint = oimo.dynamics.constraint.joint.SphericalJoint; | ||
export const RevoluteJointConfig = oimo.dynamics.constraint.joint.RevoluteJointConfig; | ||
export const UniversalJointConfig = oimo.dynamics.constraint.joint.UniversalJointConfig; | ||
export const CylindricalJoint = oimo.dynamics.constraint.joint.CylindricalJoint; | ||
export const PrismaticJoint = oimo.dynamics.constraint.joint.PrismaticJoint; | ||
export const PrismaticJointConfig = oimo.dynamics.constraint.joint.PrismaticJointConfig; | ||
export const RevoluteJoint = oimo.dynamics.constraint.joint.RevoluteJoint; | ||
export const RagdollJoint = oimo.dynamics.constraint.joint.RagdollJoint; | ||
export const CylindricalJointConfig = oimo.dynamics.constraint.joint.CylindricalJointConfig; | ||
export const SphericalJointConfig = oimo.dynamics.constraint.joint.SphericalJointConfig; | ||
export const RagdollJointConfig = oimo.dynamics.constraint.joint.RagdollJointConfig; | ||
export const SpringDamper = oimo.dynamics.constraint.joint.SpringDamper; | ||
export const TranslationalLimitMotor = oimo.dynamics.constraint.joint.TranslationalLimitMotor; | ||
export const RotationalLimitMotor = oimo.dynamics.constraint.joint.RotationalLimitMotor; | ||
export const UniversalJoint = oimo.dynamics.constraint.joint.UniversalJoint; | ||
|
||
// common | ||
export const Vec3 = oimo.common.Vec3; | ||
export const Quat = oimo.common.Quat; | ||
export const Mat3 = oimo.common.Mat3; | ||
export const MathUtil = oimo.common.MathUtil; | ||
export const Transform = oimo.common.Transform; | ||
|
||
// collision | ||
export const OCapsuleGeometry = oimo.collision.geometry.CapsuleGeometry; | ||
export const OConvexHullGeometry = oimo.collision.geometry.ConvexHullGeometry; | ||
export const OBoxGeometry = oimo.collision.geometry.BoxGeometry; | ||
export const OSphereGeometry = oimo.collision.geometry.SphereGeometry; | ||
export const OCylinderGeometry = oimo.collision.geometry.CylinderGeometry; | ||
export const OConeGeometry = oimo.collision.geometry.ConeGeometry; | ||
export const OGeometry = oimo.collision.geometry.Geometry; | ||
|
||
// callback | ||
export const RayCastClosest = oimo.dynamics.callback.RayCastClosest; |
Oops, something went wrong.