fix(klein): fix klein format with stdint
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#define KLEIN_H
|
#define KLEIN_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifdef KLEIN_IMPLEMENT
|
#ifdef KLEIN_IMPLEMENT
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -10,9 +12,9 @@
|
|||||||
|
|
||||||
struct klein
|
struct klein
|
||||||
{
|
{
|
||||||
unsigned long vertex_size;
|
|
||||||
float *vertex, *normals;
|
float *vertex, *normals;
|
||||||
unsigned char dim;
|
uint64_t vertex_size;
|
||||||
|
uint8_t dim;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user