projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for OCCT 6.5.1. Changing number of arguments of V3d_Plane.
[occt.git]
/
samples
/
mfc
/
standard
/
04_Viewer3d
/
src
/
Viewer3dView.cpp
diff --git
a/samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp
b/samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp
index
b4c658c
..
70da435
100755
(executable)
--- a/
samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp
+++ b/
samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp
@@
-1123,8
+1123,8
@@
void CViewer3dView::OnModelclipping()
Standard_Real A,B,C,D;
tmpPln.Coefficients(A,B,C,D);
//with these coefficients, creating a V3d_Plane
Standard_Real A,B,C,D;
tmpPln.Coefficients(A,B,C,D);
//with these coefficients, creating a V3d_Plane
- myPlane = new V3d_Plane(
-
GetDocument()->GetViewer(),A,B,C,D);
+ myPlane = new V3d_Plane(
A,B,C,D);
+
//
GetDocument()->GetViewer(),A,B,C,D);
//creates the Face
//NOTE : the face must be behind the clipping plane !!
tmpPln = gp_Pln(gp_Pnt(0.1,0,0),gp_Dir(1,0,0));
//creates the Face
//NOTE : the face must be behind the clipping plane !!
tmpPln = gp_Pln(gp_Pnt(0.1,0,0),gp_Dir(1,0,0));