Clean up identifiers, use blocks for commands
FossilOrigin-Name: d7661be1b1dc8fda8e4de50f9a9d75907f498e6e07530241fb04be015ca3d9ae
This commit is contained in:
parent
e995b95a84
commit
daa4c19312
25 changed files with 391 additions and 535 deletions
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include "cube.h"
|
||||
|
||||
#import "Command.h"
|
||||
|
||||
static struct vertex *verts = NULL;
|
||||
int curvert;
|
||||
static int curmaxverts = 10000;
|
||||
|
@ -61,12 +63,9 @@ int ol3r, ol3g, ol3b, ol4r, ol4g, ol4b;
|
|||
int firstindex;
|
||||
bool showm = false;
|
||||
|
||||
void
|
||||
showmip()
|
||||
{
|
||||
COMMAND(showmip, ARG_NONE, ^{
|
||||
showm = !showm;
|
||||
}
|
||||
COMMAND(showmip, ARG_NONE)
|
||||
})
|
||||
|
||||
void
|
||||
mipstats(int a, int b, int c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue