disabled bin packing
This commit is contained in:
parent
1e47f29c8e
commit
5cd3159c40
@ -3,6 +3,8 @@ AlignConsecutiveMacros: true
|
||||
AllowShortIfStatementsOnASingleLine: true
|
||||
AllowShortLoopsOnASingleLine: true
|
||||
BasedOnStyle: LLVM
|
||||
BinPackArguments: false
|
||||
BinPackParameters: false
|
||||
IndentCaseLabels: true
|
||||
IndentGotoLabels: true
|
||||
IndentPPDirectives: BeforeHash
|
||||
|
11
glxgears.c
11
glxgears.c
@ -39,7 +39,10 @@ static GLfloat viewDist = 40.0;
|
||||
**/
|
||||
|
||||
static void gear(
|
||||
GLfloat inner_radius, GLfloat outer_radius, GLfloat width, GLint teeth,
|
||||
GLfloat inner_radius,
|
||||
GLfloat outer_radius,
|
||||
GLfloat width,
|
||||
GLint teeth,
|
||||
GLfloat tooth_depth
|
||||
) {
|
||||
GLint i;
|
||||
@ -320,7 +323,8 @@ static void init(int argc, char *argv[]) {
|
||||
gear1 = glGenLists(1);
|
||||
glNewList(gear1, GL_COMPILE);
|
||||
glMaterialfv(
|
||||
GL_FRONT, GL_AMBIENT_AND_DIFFUSE,
|
||||
GL_FRONT,
|
||||
GL_AMBIENT_AND_DIFFUSE,
|
||||
(const GLfloat[]){245.0 / 255, 169.0 / 255, 184.0 / 255, 1}
|
||||
);
|
||||
gear(1.0, 4.0, 1.0, 20, 0.7);
|
||||
@ -335,7 +339,8 @@ static void init(int argc, char *argv[]) {
|
||||
gear3 = glGenLists(1);
|
||||
glNewList(gear3, GL_COMPILE);
|
||||
glMaterialfv(
|
||||
GL_FRONT, GL_AMBIENT_AND_DIFFUSE,
|
||||
GL_FRONT,
|
||||
GL_AMBIENT_AND_DIFFUSE,
|
||||
(const GLfloat[]){91.0 / 255, 206.0 / 255, 250.0 / 255, 1}
|
||||
);
|
||||
gear(1.3, 2.0, 0.5, 10, 0.7);
|
||||
|
Loading…
Reference in New Issue
Block a user