PeriDyno 1.0.0
Loading...
Searching...
No Matches
SimpleVechicleDriver.h
Go to the documentation of this file.
1#pragma once
3
4namespace dyno
5{
6 class SimpleVechicleDriver : virtual public ComputeModule
7 {
9 public:
11 ~SimpleVechicleDriver() override;
12
13 public:
14
15 DEF_VAR_IN(uint, FrameNumber, "Texture mesh of the vechicle");
16
17 DEF_ARRAYLIST_IN(Transform3f, InstanceTransform, DeviceType::GPU, "Instance transforms");
18
19 protected:
20 void compute() override;
21
22 protected:
23 float theta = 0;
24 };
25}
#define DECLARE_CLASS(name)
Definition Object.h:65
DEF_VAR_IN(uint, FrameNumber, "Texture mesh of the vechicle")
DEF_ARRAYLIST_IN(Transform3f, InstanceTransform, DeviceType::GPU, "Instance transforms")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
Transform< float, 3 > Transform3f
unsigned int uint
Definition VkProgram.h:14