heart: duplicate pi declaration
This commit is contained in:
parent
31eb0df508
commit
aed943ccad
@ -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 ?=
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user