nngn
Loading...
Searching...
No Matches
compute_test.h
Go to the documentation of this file.
1#ifndef NNGN_TEST_COMPUTE_H
2#define NNGN_TEST_COMPUTE_H
3
4#include <memory>
5
6#include "compute/compute.h"
7
8#include "collision_test.h"
9
10class ComputeTest : public CollisionTest {
11 Q_OBJECT
12public:
14 ~ComputeTest() { this->colliders.set_backend(nullptr); }
15private:
16 std::unique_ptr<nngn::Compute> compute = {};
17};
18
19#endif
Definition collision_test.h:8
nngn::Colliders colliders
Definition collision_test.h:25
Definition compute_test.h:10
~ComputeTest()
Definition compute_test.h:14
ComputeTest()
Definition compute_test.cpp:5
std::unique_ptr< nngn::Compute > compute
Definition compute_test.h:16
bool set_backend(std::unique_ptr< Backend > p)
Definition collision.cpp:43