aboutsummaryrefslogtreecommitdiff
path: root/src/physac.h
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-03-23 16:39:24 +0100
committerRay <raysan5@gmail.com>2016-03-23 16:39:24 +0100
commitdb3dd9d200f0c70538960c61ce43c00bfd4a2182 (patch)
tree2850c0cbd1ec53e25cf70fd951518efd636b2066 /src/physac.h
parent269b120104f468df5f0f00ac3a173770aa5bf09f (diff)
parent60223a358b691c2769c362597c49e124b045209c (diff)
downloadraylib-db3dd9d200f0c70538960c61ce43c00bfd4a2182.tar.gz
raylib-db3dd9d200f0c70538960c61ce43c00bfd4a2182.zip
Merge pull request #104 from victorfisac/develop
Physac redesign complete
Diffstat (limited to 'src/physac.h')
-rw-r--r--src/physac.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/physac.h b/src/physac.h
index c70dbbe2..37544686 100644
--- a/src/physac.h
+++ b/src/physac.h
@@ -2,7 +2,7 @@
*
* [physac] raylib physics module - Basic functions to apply physics to 2D objects
*
-* Copyright (c) 2015 Victor Fisac and Ramon Santamaria
+* Copyright (c) 2016 Victor Fisac and Ramon Santamaria
*
* This software is provided "as-is", without any express or implied warranty. In no event
* will the authors be held liable for any damages arising from the use of this software.
@@ -44,8 +44,8 @@ typedef enum { COLLIDER_CIRCLE, COLLIDER_RECTANGLE } ColliderType;
typedef struct Transform {
Vector2 position;
- float rotation;
- Vector2 scale;
+ float rotation; // Radians (not used)
+ Vector2 scale; // Just for rectangle physic objects, for circle physic objects use collider radius and keep scale as { 0, 0 }
} Transform;
typedef struct Rigidbody {