更新版本,修复镜像槽问题
This commit is contained in:
@@ -5,7 +5,6 @@ import { MoveMatrix } from "./GeUtils";
|
||||
|
||||
/**
|
||||
* 标注实体
|
||||
*
|
||||
* @export
|
||||
* @class Dimension
|
||||
* @extends {Group}
|
||||
@@ -42,12 +41,12 @@ export class Dimension extends Group
|
||||
if (mirror)
|
||||
{
|
||||
let roMat = new Matrix4().makeRotationZ(Math.PI);
|
||||
text.applyMatrix(roMat);
|
||||
text.applyMatrix(MoveMatrix(new Vector3(length * 0.5, footLength - textHeight * 0.1)));
|
||||
text.applyMatrix4(roMat);
|
||||
text.applyMatrix4(MoveMatrix(new Vector3(length * 0.5, footLength - textHeight * 0.1)));
|
||||
}
|
||||
else
|
||||
{
|
||||
text.applyMatrix(MoveMatrix(new Vector3(length * 0.5, footLength * 1.1)));
|
||||
text.applyMatrix4(MoveMatrix(new Vector3(length * 0.5, footLength * 1.1)));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user