Last active
February 14, 2021 16:17
-
-
Save PaperPrototype/6ecf4a40738d813426b4cd9f4054c26a to your computer and use it in GitHub Desktop.
player struct in C
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Player { | |
float pos[3]; // array of 3 floats (aka vector3) | |
float rot[4]; // array of 4 floats (aka vector4, aka quaternion) | |
struct Mesh mesh; // if you are in third person u should see your player | |
struct BoxCollider collider; // collision | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment