projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5169775
)
glu/sgi: Initialize member of struct GridVertex.
author
Vinson Lee
<vlee@vmware.com>
Wed, 30 Dec 2009 04:45:24 +0000
(20:45 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 30 Dec 2009 04:45:24 +0000
(20:45 -0800)
src/glu/sgi/libnurbs/internals/gridvertex.h
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libnurbs/internals/gridvertex.h
b/src/glu/sgi/libnurbs/internals/gridvertex.h
index 36a65c7bdd321ac57dccb47d8653b88abfd892ef..2e27436ef8145072684d63aacc885310ec449b68 100644
(file)
--- a/
src/glu/sgi/libnurbs/internals/gridvertex.h
+++ b/
src/glu/sgi/libnurbs/internals/gridvertex.h
@@
-38,7
+38,7
@@
struct GridVertex {
long gparam[2];
- GridVertex( void ) {}
+ GridVertex( void ) {
gparam[0] = 0, gparam[1] = 0;
}
GridVertex( long u, long v ) { gparam[0] = u, gparam[1] = v; }
void set( long u, long v ) { gparam[0] = u, gparam[1] = v; }
long nextu() { return gparam[0]++; }