PeriDyno 1.0.0
Loading...
Searching...
No Matches
ConstructTangentSpace.h
Go to the documentation of this file.
1
16
17#pragma once
18
20
21#include "Topology/TriangleSet.h"
22
23//Graphics object
25
26namespace dyno
27{
29 {
31 public:
34
35 public:
37
38 DEF_ARRAY_OUT(Vec3f, Normal, DeviceType::GPU, "");
39
40 DEF_ARRAY_OUT(Vec3f, Tangent, DeviceType::GPU, "");
41
42 DEF_ARRAY_OUT(Vec3f, Bitangent, DeviceType::GPU, "");
43
44 protected:
45 void compute() override;
46
47 private:
48 };
49};
#define DECLARE_CLASS(name)
Definition Object.h:65
DEF_ARRAY_OUT(Vec3f, Normal, DeviceType::GPU, "")
DEF_ARRAY_OUT(Vec3f, Tangent, DeviceType::GPU, "")
DEF_INSTANCE_IN(TextureMesh, TextureMesh, "")
DEF_ARRAY_OUT(Vec3f, Bitangent, DeviceType::GPU, "")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
Vector< float, 3 > Vec3f
Definition Vector3D.h:93