-
Notifications
You must be signed in to change notification settings - Fork 5
/
Physics Engine.txt
53 lines (53 loc) · 2.23 KB
/
Physics Engine.txt
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
43
44
45
46
47
48
49
50
51
52
53
const bool mResult;
const pFloat3 mNormal;
pFloat3 mAcceleration;
pFloat3 mVelocity;
pFloat3 mPosition;
PhysicsCollider* mCollider;
bool mFixed;
pFloat mMass;
delete mCollider;
pFloat3 mMinPos;
pFloat3 mMaxPos;
pFloat3 mNormal;
pFloat mDistance;
pFloat mRadius;
std::vector<PhysicsObject*> objects;
pFloat3 mGravity;
pFloat3 mAirResistance;
pFloat mFriction;
Undefined,
Sphere,
AABB,
Plane,
Box,
Cylinder,
Complex
pFloat x;
pFloat y;
pFloat z;
float2 xy;
float1 _a;
float1 _b;
float2 yz;
pFloat x;
pFloat y;
pFloat z;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
return *this;
pFloat x;
pFloat y;
pFloat z;
pFloat w;