adding ViewFrustumTests

This commit is contained in:
Andrew Meadows 2016-02-22 18:06:38 -08:00
parent 92581587b1
commit 669cc75596
2 changed files with 1180 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,31 @@
//
// ViewFrustumTests.h
// tests/octree/src
//
// Created by Andrew Meadows on 2016.02.19
// Copyright 2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_ViewFruxtumTests_h
#define hifi_ViewFruxtumTests_h
#include <QtTest/QtTest>
class ViewFrustumTests : public QObject {
Q_OBJECT
private slots:
void testInit();
void testPointInFrustum();
void testSphereInFrustum();
void testCubeInFrustum();
void testBoxInFrustum();
void testSphereTouchesKeyhole();
void testCubeTouchesKeyhole();
void testBoxTouchesKeyhole();
};
#endif // hifi_ViewFruxtumTests_h