From 244e7b1947e7d0b43c88f4e31a8b10bd41c3d992 Mon Sep 17 00:00:00 2001 From: 0b5vr <0b5vr@0b5vr.com> Date: Fri, 9 Sep 2022 12:06:45 +0900 Subject: [PATCH] refactor: update constraint spec URL on comments --- .../VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs | 4 ++-- .../Runtime/Components/Constraint/Vrm10RollConstraint.cs | 4 ++-- .../Runtime/Components/Constraint/Vrm10RotationConstraint.cs | 4 ++-- Assets/VRM10/Runtime/IO/Vrm10Importer.cs | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Assets/VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs b/Assets/VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs index 15d489eae..531cfa8e5 100644 --- a/Assets/VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs +++ b/Assets/VRM10/Runtime/Components/Constraint/Vrm10AimConstraint.cs @@ -5,7 +5,7 @@ using UnityEngine; namespace UniVRM10 { /// - /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_draft/schema/VRMC_node_constraint.aimConstraint.schema.json + /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_beta/schema/VRMC_node_constraint.aimConstraint.schema.json /// [DisallowMultipleComponent] public class Vrm10AimConstraint : MonoBehaviour, IVrm10Constraint @@ -49,7 +49,7 @@ namespace UniVRM10 _dstRestLocalQuat = transform.localRotation; } /// - /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_draft/README.ja.md#example-of-implementation-1 + /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_beta/README.ja.md#example-of-implementation-1 /// /// fromVec = aimAxis.applyQuaternion( dstParentWorldQuat * dstRestQuat ) /// toVec = ( srcWorldPos - dstWorldPos ).normalized diff --git a/Assets/VRM10/Runtime/Components/Constraint/Vrm10RollConstraint.cs b/Assets/VRM10/Runtime/Components/Constraint/Vrm10RollConstraint.cs index 56993a704..def2014e5 100644 --- a/Assets/VRM10/Runtime/Components/Constraint/Vrm10RollConstraint.cs +++ b/Assets/VRM10/Runtime/Components/Constraint/Vrm10RollConstraint.cs @@ -5,7 +5,7 @@ using UnityEngine; namespace UniVRM10 { /// - /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_draft/schema/VRMC_node_constraint.rollConstraint.schema.json + /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_beta/schema/VRMC_node_constraint.rollConstraint.schema.json /// [DisallowMultipleComponent] public class Vrm10RollConstraint : MonoBehaviour, IVrm10Constraint @@ -47,7 +47,7 @@ namespace UniVRM10 _dstRestLocalQuat = transform.localRotation; } /// - /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_draft/README.ja.md#example-of-implementation + /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_beta/README.ja.md#example-of-implementation /// /// deltaSrcQuat = srcRestQuat.inverse * srcQuat /// deltaSrcQuatInParent = srcRestQuat * deltaSrcQuat * srcRestQuat.inverse // source to parent diff --git a/Assets/VRM10/Runtime/Components/Constraint/Vrm10RotationConstraint.cs b/Assets/VRM10/Runtime/Components/Constraint/Vrm10RotationConstraint.cs index 848f0539b..1dc04f101 100644 --- a/Assets/VRM10/Runtime/Components/Constraint/Vrm10RotationConstraint.cs +++ b/Assets/VRM10/Runtime/Components/Constraint/Vrm10RotationConstraint.cs @@ -3,7 +3,7 @@ namespace UniVRM10 { /// - /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_draft/schema/VRMC_node_constraint.rotationConstraint.schema.json + /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_beta/schema/VRMC_node_constraint.rotationConstraint.schema.json /// [DisallowMultipleComponent] public class Vrm10RotationConstraint : MonoBehaviour, IVrm10Constraint @@ -33,7 +33,7 @@ namespace UniVRM10 } /// - /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_draft/README.ja.md#example-of-implementation-2 + /// https://github.com/vrm-c/vrm-specification/blob/master/specification/VRMC_node_constraint-1.0_beta/README.ja.md#example-of-implementation-2 /// /// srcDeltaQuat = srcRestQuat.inverse * srcQuat /// targetQuat = Quaternion.slerp( diff --git a/Assets/VRM10/Runtime/IO/Vrm10Importer.cs b/Assets/VRM10/Runtime/IO/Vrm10Importer.cs index 6aed057d5..3ef60c4f7 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Importer.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Importer.cs @@ -668,7 +668,7 @@ namespace UniVRM10 } /// - /// https://github.com/vrm-c/vrm-specification/tree/master/specification/VRMC_node_constraint-1.0_draft + /// https://github.com/vrm-c/vrm-specification/tree/master/specification/VRMC_node_constraint-1.0_beta /// /// * roll /// * aim