-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathenvironment.cpp
42 lines (28 loc) · 1.08 KB
/
environment.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include "environment.h"
Environment::Environment()
{
initController();
}
Environment::~Environment()
{
}
void Environment::initController()
{
Controller * controller = Controller::get();
controller->character = & character;
controller->cage = & cage;
controller->skeleton = & skeleton;
controller->cageWeights = & cageWeights;
controller->nc = & nc;
controller->mvc = & mvc;
controller->skeletonWeights = & skeletonWeights;
controller->lbs = & lbs;
controller->dqs = & dqs;
controller->cor = & cor;
controller->corWeights = & corWeights;
controller->asyncAnimator = & asyncAnimator;
controller->cageReverser = & cageReverser;
controller->cageUpdater = & cageUpdater;
controller->skeletonUpdater = & skeletonUpdater;
controller->skeletonUpdaterWeights = & skeletonUpdaterWeights;
}