Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#pragma once
#include "GameObject.h"
#include "CRVec3.h"
class Player : public GameObject
{
private:
public:
float mass;
float inertia;
GLfloat orientation;
float momentOfinertia;
float length;
float width;
CR217::CRVec3 centerOfMass;
CR217::CRVec3 acceleration;
CR217::CRVec3 velocity;
CR217::CRVec3 totalForce;
CR217::CRVec3 torque;
CR217::CRVec3 futureVelocity;
CR217::CRVec3 futureOrientation;
CR217::CRVec3 futurePosition;
CR217::CRVec3 angularVelocity;
CR217::CRVec3 angularAcceleration;
CR217::CRVec3 futureAngularVelocity;
CR217::CRVec3 angularForces;
CR217::CRVec3 forcePosition;
CR217::CRVec3 forceValue;
Player(float m, CR217::CRVec3 position);
void Draw();
void calculateForces();
void Update(float);
~Player();
};