CCDIKSolver.d.ts 409 B

1234567891011121314151617181920212223242526272829
  1. import {
  2. SkinnedMesh,
  3. } from '../../../src/Three';
  4. export interface IKS {
  5. effector: number;
  6. iteration: number;
  7. links: {
  8. enabled: boolean;
  9. index: number;
  10. }
  11. maxAngle: number;
  12. target: number;
  13. }
  14. export class CCDIKSolver {
  15. constructor( mesh: SkinnedMesh, iks: IKS[] );
  16. update(): this;
  17. createHelper(): CCDIKHelper;
  18. }
  19. export class CCDIKHelper {
  20. constructor( mesh: SkinnedMesh, iks: IKS[] );
  21. }