PeriDyno 1.0.0
Loading...
Searching...
No Matches
FCallbackFunc.h
Go to the documentation of this file.
1
16#pragma once
17
18#include <vector>
19#include <functional>
20
21namespace dyno
22{
23 class FBase;
24
26 {
27 public:
28 FCallBackFunc(std::function<void()> func);
30
31 void update();
32
33 void addInput(FBase* f);
34
35 private:
36 std::function<void()> mCallback;
37
38 std::vector<FBase*> mInputs;
39 };
40}
std::vector< FBase * > mInputs
std::function< void()> mCallback
void addInput(FBase *f)
FCallBackFunc(std::function< void()> func)
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25