1 | # Copyright (c) 2001, Stanford University
|
---|
2 | # All rights reserved.
|
---|
3 | #
|
---|
4 | # See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | :enable:polygonSmooth:GL_POLYGON_SMOOTH
|
---|
6 | :enable:polygonOffsetFill:GL_POLYGON_OFFSET_FILL
|
---|
7 | :enable:polygonOffsetLine:GL_POLYGON_OFFSET_LINE
|
---|
8 | :enable:polygonOffsetPoint:GL_POLYGON_OFFSET_POINT
|
---|
9 | :enable:polygonStipple:GL_POLYGON_STIPPLE
|
---|
10 | :enable:cullFace:GL_CULL_FACE
|
---|
11 | :offset:offsetFactor,offsetUnits:PolygonOffset
|
---|
12 | :mode:frontFace:FrontFace
|
---|
13 | :mode:cullFaceMode:CullFace
|
---|
14 | :mode:backMode:PolygonMode,GL_BACK
|
---|
15 | :mode:frontMode:PolygonMode,GL_FRONT
|
---|
16 | -:stipple:stipple:*diff_api.PolygonStipple ((GLubyte *) to->stipple);
|
---|
17 | +:stipple:*int iStripple;
|
---|
18 | +:stipple:*diff_api.PolygonStipple ((GLubyte *) to->stipple);
|
---|
19 | +:stipple:*for (iStripple=0; iStripple<32; iStripple++)
|
---|
20 | +:stipple:*{
|
---|
21 | +:stipple:* from->stipple[iStripple] = to->stipple[iStripple];
|
---|
22 | +:stipple:*}
|
---|