清理代码

pull/7/head
ChenX 7 years ago
parent ab50e0fbb8
commit ba07780514

@ -59,16 +59,14 @@ export const LineData = mst.types.compose(
})
.views(self =>
{
let start = self.startPoint;
let end = self.entPoint;
return {
get StartPoint(): THREE.Vector3
{
return toVec3(start);
return toVec3(self.startPoint);
},
get EndPoint(): THREE.Vector3
{
return toVec3(end)
return toVec3(self.entPoint)
}
}
})

Loading…
Cancel
Save