heart: duplicate pi declaration

This commit is contained in:
Zack Buhman 2024-02-23 15:27:16 +08:00
parent 31eb0df508
commit aed943ccad
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
DIR := $(dir $(MAKEFILE_PATH)) DIR := $(dir $(MAKEFILE_PATH))
LIB ?= . LIB ?= .
OPT ?= -Og OPT ?= -O2
DEBUG ?= -g -gdwarf-4 DEBUG ?= -g -gdwarf-4
GENERATED ?= GENERATED ?=

View File

@ -18,14 +18,13 @@
#include "memorymap.hpp" #include "memorymap.hpp"
#include "geometry/heart.hpp" #include "geometry/heart.hpp"
#include "math/math.hpp"
#include "math/vec3.hpp" #include "math/vec3.hpp"
#include "math/vec4.hpp" #include "math/vec4.hpp"
#include "math/mat4x4.hpp" #include "math/mat4x4.hpp"
using mat4x4 = mat<4, 4, float>; using mat4x4 = mat<4, 4, float>;
constexpr float pi = 3.141592653589793;
struct rotation_weights { struct rotation_weights {
float drx; float drx;
float dry; float dry;