Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Cazier
CGoGN
Commits
070962c3
Commit
070962c3
authored
Jul 29, 2011
by
Maire Nicolas
Browse files
Correction d'une autre petite erreur dans clippingShader.
parent
7798f434
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Utils/clippingShader.cpp
View file @
070962c3
...
...
@@ -91,6 +91,7 @@ int ClippingShader::addClipPlane()
// Resize planes arrays to the right size
m_clipPlanes
.
resize
((
size_t
)(
previousPlanesCount
+
1
));
if
(
newPlaneId
>=
m_clipPlanesIds
.
size
())
m_clipPlanesIds
.
resize
((
size_t
)(
newPlaneId
+
1
));
m_clipPlanesEquations
.
resize
(
4
*
(
size_t
)(
previousPlanesCount
+
1
),
0.0
);
...
...
@@ -349,6 +350,7 @@ int ClippingShader::addClipSphere()
// Resize spheres arrays to the right size
m_clipSpheres
.
resize
((
size_t
)(
previousSpheresCount
+
1
));
if
(
newSphereId
>=
m_clipSpheresIds
.
size
())
m_clipSpheresIds
.
resize
((
size_t
)(
newSphereId
+
1
));
m_clipSpheresCentersAndRadiuses
.
resize
(
4
*
(
size_t
)(
previousSpheresCount
+
1
),
0.0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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