Animation blending
- transition smoothly between idle and run animations - use quaternions (versors) instead of yaw/pitch/roll - hide mouse and enable free-look mode by default on startup - rotate model 180 degrees in Blender so it faces away from the camera by default - add some makefile commands
This commit is contained in:
10
makefile
10
makefile
@@ -14,7 +14,7 @@ OBJDIRS := $(patsubst $(SRC)%, $(OBJ)%, $(shell find $(SRC) -type d))
|
||||
CLEANDIRS := $(addsuffix /.clean, $(OBJDIRS));
|
||||
|
||||
# Explicit targets
|
||||
.PHONY: all release clean
|
||||
.PHONY: all release clean rebuild run
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
# Build executable
|
||||
@@ -39,3 +39,11 @@ clean: $(CLEANDIRS)
|
||||
rm -f $(EXE) $(REL)
|
||||
%.clean:
|
||||
rm -f $**.o
|
||||
|
||||
rebuild:
|
||||
make clean
|
||||
make all
|
||||
|
||||
run:
|
||||
make all
|
||||
./$(EXE)
|
||||
|
||||
Reference in New Issue
Block a user