Skip to content
Snippets Groups Projects
Commit ac7a3d99 authored by Oleksandr Husak's avatar Oleksandr Husak
Browse files

orientation arrow to the x-axis

parent c79bebb3
No related branches found
No related tags found
No related merge requests found
......@@ -152,8 +152,8 @@ export class MapComponent implements OnInit {
// --- Orientation
if ('x' in point) {
let orient: RelativePos = {
"x": point.x + (theta ? Math.sin(theta)*3 : 0),
"y": point.y + (theta ? Math.cos(theta)*3 : 3.5),
"x": point.x + (theta ? Math.cos(theta)*3.5 : 3.5),
"y": point.y + (theta ? Math.sin(theta)*3.5 : 0),
"z": point.z
}
let globPointOrient = this.ref2root(orient)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment