Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
c6c8c24e
Commit
c6c8c24e
authored
Feb 06, 2017
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+ by previous
parent
25e9aede
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
common/Charts/3DTransformation.js
common/Charts/3DTransformation.js
+10
-5
No files found.
common/Charts/3DTransformation.js
View file @
c6c8c24e
...
@@ -1536,6 +1536,11 @@ Processor3D.prototype.checkOutSideArea = function(newPoints)
...
@@ -1536,6 +1536,11 @@ Processor3D.prototype.checkOutSideArea = function(newPoints)
y111
=
t
.
convertAndTurnPoint
(
minMaxOy
.
tempX1
,
minMaxOy
.
tempY1
,
minMaxOy
.
tempZ1
);
y111
=
t
.
convertAndTurnPoint
(
minMaxOy
.
tempX1
,
minMaxOy
.
tempY1
,
minMaxOy
.
tempZ1
);
y222
=
t
.
convertAndTurnPoint
(
minMaxOy
.
tempX2
,
minMaxOy
.
tempY2
,
minMaxOy
.
tempZ2
);
y222
=
t
.
convertAndTurnPoint
(
minMaxOy
.
tempX2
,
minMaxOy
.
tempY2
,
minMaxOy
.
tempZ2
);
diffY
=
Math
.
abs
(
y222
.
y
-
y111
.
y
);
diffY
=
Math
.
abs
(
y222
.
y
-
y111
.
y
);
if
(
count
>
maxCount
)
{
return
;
}
}
}
if
(
diffX
<=
widthChart
&&
diffY
<=
heightChart
&&
((
widthChart
-
diffX
)
<
DELTA
||
(
heightChart
-
diffY
)
<
DELTA
))
if
(
diffX
<=
widthChart
&&
diffY
<=
heightChart
&&
((
widthChart
-
diffX
)
<
DELTA
||
(
heightChart
-
diffY
)
<
DELTA
))
{
{
...
@@ -1576,12 +1581,12 @@ Processor3D.prototype.checkOutSideArea = function(newPoints)
...
@@ -1576,12 +1581,12 @@ Processor3D.prototype.checkOutSideArea = function(newPoints)
{
{
fLeftDiffZ
=
t
.
cameraDiffZ
;
fLeftDiffZ
=
t
.
cameraDiffZ
;
}
}
if
(
count
>
maxCount
)
{
return
;
}
}
}
if
(
count
>
maxCount
)
{
return
;
}
};
};
calculateZ
();
calculateZ
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment