Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
d545c4cf
Commit
d545c4cf
authored
17 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
25c0a369
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Common/VertexArray.cpp
+2
-2
2 additions, 2 deletions
Common/VertexArray.cpp
with
2 additions
and
2 deletions
Common/VertexArray.cpp
+
2
−
2
View file @
d545c4cf
// $Id: VertexArray.cpp,v 1.2
1
2007-08-27
1
3:
46:21
geuzaine Exp $
// $Id: VertexArray.cpp,v 1.2
2
2007-08-27
2
3:
33:48
geuzaine Exp $
//
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -32,7 +32,7 @@ VertexArray::VertexArray(int numVerticesPerElement, int numElements)
...
@@ -32,7 +32,7 @@ VertexArray::VertexArray(int numVerticesPerElement, int numElements)
int
nb
=
(
numElements
?
numElements
:
1
)
*
numVerticesPerElement
;
int
nb
=
(
numElements
?
numElements
:
1
)
*
numVerticesPerElement
;
_vertices
.
reserve
(
nb
*
3
);
_vertices
.
reserve
(
nb
*
3
);
_normals
.
reserve
(
nb
*
3
);
_normals
.
reserve
(
nb
*
3
);
_colors
.
reserve
(
nb
*
4
);
_colors
.
reserve
(
nb
*
4
);
}
}
void
VertexArray
::
add
(
float
x
,
float
y
,
float
z
,
float
n0
,
float
n1
,
float
n2
,
void
VertexArray
::
add
(
float
x
,
float
y
,
float
z
,
float
n0
,
float
n1
,
float
n2
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment