@pixiv/types-vrmc-node-constraint-1.0 1.0.0-beta.8 → 1.0.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixiv/types-vrmc-node-constraint-1.0",
3
- "version": "1.0.0-beta.8",
3
+ "version": "1.0.0-beta.9",
4
4
  "description": "Type definitions of VRMC_node_constraint 1.0 schema",
5
5
  "license": "MIT",
6
6
  "author": "pixiv",
@@ -33,5 +33,5 @@
33
33
  "prettier --write"
34
34
  ]
35
35
  },
36
- "gitHead": "795124c98cae6403e8936ec15f47016c23af60b1"
36
+ "gitHead": "31a046e8ef027917490cbbb3e558f9f97f3d3259"
37
37
  }
@@ -1,11 +1,11 @@
1
- import type { RotationConstraint } from './RotationConstraint';
2
- /**
3
- * An object contains one of constraints.
4
- */
5
- export interface Constraint {
6
- rotation: RotationConstraint;
7
- extensions?: {
8
- [name: string]: any;
9
- };
10
- extras?: any;
11
- }
1
+ import type { RotationConstraint } from './RotationConstraint';
2
+ /**
3
+ * An object contains one of constraints.
4
+ */
5
+ export interface Constraint {
6
+ rotation: RotationConstraint;
7
+ extensions?: {
8
+ [name: string]: any;
9
+ };
10
+ extras?: any;
11
+ }
@@ -1,17 +1,17 @@
1
- /**
2
- * A constraint that links the rotation with sources.
3
- */
4
- export interface RotationConstraint {
5
- /**
6
- * The index of the node constrains the node.
7
- */
8
- source: number;
9
- /**
10
- * Axes be constrained by this constraint, in X-Y-Z order.
11
- */
12
- freezeAxes?: [boolean, boolean, boolean];
13
- /**
14
- * The weight of the constraint.
15
- */
16
- weight?: number;
17
- }
1
+ /**
2
+ * A constraint that links the rotation with sources.
3
+ */
4
+ export interface RotationConstraint {
5
+ /**
6
+ * The index of the node constrains the node.
7
+ */
8
+ source: number;
9
+ /**
10
+ * Axes be constrained by this constraint, in X-Y-Z order.
11
+ */
12
+ freezeAxes?: [boolean, boolean, boolean];
13
+ /**
14
+ * The weight of the constraint.
15
+ */
16
+ weight?: number;
17
+ }
@@ -1,15 +1,15 @@
1
- import type { Constraint } from './Constraint';
2
- /**
3
- * glTF extension that defines a node constraint.
4
- */
5
- export interface VRMCNodeConstraint {
6
- /**
7
- * Specification version of VRMC_node_constraint
8
- */
9
- specVersion: '1.0-draft';
10
- constraint: Constraint;
11
- extensions?: {
12
- [name: string]: any;
13
- };
14
- extras?: any;
15
- }
1
+ import type { Constraint } from './Constraint';
2
+ /**
3
+ * glTF extension that defines a node constraint.
4
+ */
5
+ export interface VRMCNodeConstraint {
6
+ /**
7
+ * Specification version of VRMC_node_constraint
8
+ */
9
+ specVersion: '1.0-draft';
10
+ constraint: Constraint;
11
+ extensions?: {
12
+ [name: string]: any;
13
+ };
14
+ extras?: any;
15
+ }
package/types/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export type { Constraint } from './Constraint';
2
- export type { RotationConstraint } from './RotationConstraint';
3
- export type { VRMCNodeConstraint } from './VRMCNodeConstraint';
1
+ export type { Constraint } from './Constraint';
2
+ export type { RotationConstraint } from './RotationConstraint';
3
+ export type { VRMCNodeConstraint } from './VRMCNodeConstraint';