mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 09:20:12 +02:00
31 lines
733 B
C++
31 lines
733 B
C++
//
|
|
// 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
|