aboutsummaryrefslogtreecommitdiff
path: root/src/obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/obj.h')
-rw-r--r--src/obj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/obj.h b/src/obj.h
index 44790a2..10df760 100644
--- a/src/obj.h
+++ b/src/obj.h
@@ -19,7 +19,7 @@
# ifndef __OBJ__
#define __OBJ__
-#define OBJ_LINE_MAX_SIZE 1024
+#define OBJ_LINE_MAX 1024
#define OBJ_MAX_WORD 512
typedef struct {
@@ -34,7 +34,7 @@ typedef struct {
} Texture;
typedef struct {
- char name[OBJ_LINE_MAX_SIZE];
+ char name[OBJ_LINE_MAX];
float ka[3], kd[3], ks[3];
unsigned int illum;
float ns;
Feel free to download, copy and edit any repo