worked on 2D/3D raytracing

adjusted BVH
improved 2D/3D BVH
new bounding volumes
new test cases
renamed some test-cases for grouping reasons
made GPC header-only using slight adjustments
This commit is contained in:
2017-09-13 08:08:00 +02:00
parent c19d18a3a6
commit 686151b511
38 changed files with 1257 additions and 253 deletions

View File

@@ -3,7 +3,7 @@
#include "../Tests.h"
#include "../../geo/Heading.h"
TEST(Heading, diff) {
TEST(Geo_Heading, diff) {
// 180 degree turn
{
@@ -26,7 +26,7 @@ TEST(Heading, diff) {
}
TEST(Heading, mod) {
TEST(Geo_Heading, mod) {
const float d = 0.0001;
@@ -36,7 +36,7 @@ TEST(Heading, mod) {
}
TEST(Heading, ctor) {
TEST(Geo_Heading, ctor) {
// OK
Heading(0);
@@ -54,7 +54,7 @@ TEST(Heading, ctor) {
}
TEST(Heading, eq) {
TEST(Geo_Heading, eq) {
ASSERT_EQ(Heading(0), Heading(0));
ASSERT_EQ(Heading(1), Heading(1));