Load cglm .so
This commit is contained in:
parent
7383129a51
commit
3f1e47b054
6
Makefile
6
Makefile
@ -1,8 +1,8 @@
|
||||
P=main
|
||||
OBJECTS=objs/glad.o objs/stb_image_precompiled.o
|
||||
CFLAGS=-g -Wall -Wextra -O0
|
||||
LDLIBS=-lglfw -lOpenGL -lm -L objs/libcglm.so
|
||||
INCLUDES=-Ilibs/glad/include/ -Ilibs/ -Iobjs/
|
||||
LDLIBS=-lglfw -lOpenGL -lm -lcglm -lcyaml -L objs/
|
||||
INCLUDES=-Ilibs/glad/include/ -Ilibs/
|
||||
CC=gcc
|
||||
RM=rm -vf
|
||||
|
||||
@ -16,7 +16,7 @@ texturepacker:
|
||||
|
||||
.PHONY: run
|
||||
run: build
|
||||
./$(P)
|
||||
LD_LIBRARY_PATH=objs/ ./$(P)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
10
ennix.todo
10
ennix.todo
@ -8,7 +8,10 @@
|
||||
* DONE Write images to correct regions in output buffer
|
||||
* DONE Generate a Rect data structure that determines where an image goes
|
||||
* DONE Write to the rect rather than global values
|
||||
* TODO Create a basic GLU loop so we can debug writing the colors
|
||||
* DONE Precompile stb_image for faster compilation
|
||||
* TODO Create a basic data structure and read/write to/from yaml
|
||||
* TODO Figure out the pipeline for sprites, atlases, and animations
|
||||
* TODO Draw pixels over an SDL loop so we can debug writing the colors
|
||||
* TODO Research simple texture packing algorithms
|
||||
* TODO Implement one?
|
||||
* TODO Take an =-o= flag for the name of the output file
|
||||
@ -17,9 +20,10 @@
|
||||
* TODO Write unit tests
|
||||
* TODO Figure out how to profile performance
|
||||
* Systems
|
||||
** Serialization
|
||||
** Sprites
|
||||
*** Texture Packer
|
||||
*** Animation
|
||||
** Texture Packer
|
||||
** Animation
|
||||
** Physics
|
||||
** Particle Systems
|
||||
** Camera
|
||||
|
1
lib.h
1
lib.h
@ -5,6 +5,7 @@
|
||||
|
||||
typedef uint8_t u8;
|
||||
// typedef char16_t c16;
|
||||
typedef uint16_t u16;
|
||||
typedef int32_t b32;
|
||||
typedef int32_t i32;
|
||||
typedef uint32_t u32;
|
||||
|
Loading…
x
Reference in New Issue
Block a user