mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-13 22:39:39 -05:00
rename
This commit is contained in:
@@ -41,7 +41,7 @@ namespace UniVRM10
|
||||
break;
|
||||
|
||||
case ObjectSpace.model:
|
||||
m_dst.ApplyModel(DestinationCoords * new TR(DestinationOffset) * new TR(Delta));
|
||||
m_dst.ApplyModel(DestinationInitialCoords * new TR(DestinationOffset) * new TR(Delta));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace UniVRM10
|
||||
break;
|
||||
|
||||
case ObjectSpace.model:
|
||||
m_dst.ApplyModel(DestinationCoords * new TR(DestinationOffset) * new TR(Quaternion.Euler(Delta)));
|
||||
m_dst.ApplyModel(DestinationInitialCoords * new TR(DestinationOffset) * new TR(Quaternion.Euler(Delta)));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
@@ -85,7 +85,7 @@ namespace UniVRM10
|
||||
}
|
||||
}
|
||||
|
||||
TR SourceCoords
|
||||
TR SourceInitialCoords
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -115,12 +115,12 @@ namespace UniVRM10
|
||||
{
|
||||
throw new ConstraintException(ConstraintException.ExceptionTypes.NoModelWithModelSpace);
|
||||
}
|
||||
return new TR(SourceModelCoords.Rotation * SourceOffset, SourceCoords.Translation);
|
||||
return new TR(SourceModelCoords.Rotation * SourceOffset, SourceInitialCoords.Translation);
|
||||
}
|
||||
|
||||
case ObjectSpace.local:
|
||||
{
|
||||
return new TR(SourceCoords.Rotation * SourceOffset, SourceCoords.Translation);
|
||||
return new TR(SourceInitialCoords.Rotation * SourceOffset, SourceInitialCoords.Translation);
|
||||
}
|
||||
|
||||
default:
|
||||
@@ -147,7 +147,7 @@ namespace UniVRM10
|
||||
}
|
||||
}
|
||||
|
||||
public TR DestinationCoords
|
||||
public TR DestinationInitialCoords
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -172,12 +172,12 @@ namespace UniVRM10
|
||||
{
|
||||
throw new ConstraintException(ConstraintException.ExceptionTypes.NoModelWithModelSpace);
|
||||
}
|
||||
return new TR(DestinationModelCoords.Rotation * DestinationOffset, DestinationCoords.Translation);
|
||||
return new TR(DestinationModelCoords.Rotation * DestinationOffset, DestinationInitialCoords.Translation);
|
||||
}
|
||||
|
||||
case ObjectSpace.local:
|
||||
{
|
||||
return new TR(DestinationCoords.Rotation * DestinationOffset, DestinationCoords.Translation);
|
||||
return new TR(DestinationInitialCoords.Rotation * DestinationOffset, DestinationInitialCoords.Translation);
|
||||
}
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user