Skip to content

Commit

Permalink
Clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dworak committed Jul 22, 2024
1 parent e06905e commit 61d2104
Show file tree
Hide file tree
Showing 51 changed files with 41,449 additions and 0 deletions.
37,071 changes: 37,071 additions & 0 deletions viewer/js/jsm/libs/OimoPhysics/OimoPhysics.js

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions viewer/js/jsm/libs/OimoPhysics/index.js
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;
Loading

0 comments on commit 61d2104

Please sign in to comment.