mirror of
https://github.com/aap/librw.git
synced 2024-11-25 05:05:42 +00:00
Forgot dependencies.
This commit is contained in:
parent
179e521f91
commit
a2982d58e4
1
Makefile
1
Makefile
@ -4,6 +4,7 @@ SRC := $(patsubst %.cpp,$(SRCDIR)/%.cpp, rwbase.cpp clump.cpp\
|
|||||||
geometry.cpp plugins.cpp ps2.cpp\
|
geometry.cpp plugins.cpp ps2.cpp\
|
||||||
ogl.cpp)
|
ogl.cpp)
|
||||||
OBJ := $(patsubst $(SRCDIR)/%.cpp,$(BUILDDIR)/%.o,$(SRC))
|
OBJ := $(patsubst $(SRCDIR)/%.cpp,$(BUILDDIR)/%.o,$(SRC))
|
||||||
|
OBJ := $(patsubst $(SRCDIR)/%.cpp,$(BUILDDIR)/%.d,$(SRC))
|
||||||
CFLAGS=-Wall -Wextra -g #-Wno-parentheses #-Wconversion
|
CFLAGS=-Wall -Wextra -g #-Wno-parentheses #-Wconversion
|
||||||
|
|
||||||
librw.a: $(OBJ)
|
librw.a: $(OBJ)
|
||||||
|
@ -3,7 +3,9 @@ namespace Rw {
|
|||||||
struct OGLAttrib
|
struct OGLAttrib
|
||||||
{
|
{
|
||||||
// arguments to glVertexAttribPointer (should use OpenGL types here)
|
// arguments to glVertexAttribPointer (should use OpenGL types here)
|
||||||
|
// Vertex = 0, TexCoord, Normal, Color, Weight, Bone Index
|
||||||
uint32 index;
|
uint32 index;
|
||||||
|
// float = 0, byte, ubyte, short, ushort
|
||||||
int32 type;
|
int32 type;
|
||||||
bool32 normalized;
|
bool32 normalized;
|
||||||
int32 size;
|
int32 size;
|
||||||
|
Loading…
Reference in New Issue
Block a user