Commit Graph

282 Commits

Author SHA1 Message Date
victorfisac 305efcf5ad Redesigned physics module (IN PROGRESS)
physac modules is being redesigned. Physics base behaviour is done and
it is composed by three steps: apply physics, resolve collisions and fix
overlapping.

A basic example is currently in progress. The next steps are try to add
torque and unoriented physic collisions and implement physics basic
functions to add forces. Rigidbody grounding state is automatically
calculated and has a perfect result. Rigidbodies interacts well with
each others.

To achieve physics accuracy, UpdatePhysics() is called a number of times
per frame. In a future, it should be changed to another thread and call
it without any target frame restriction.

Basic physics example has been redone (not finished) using the new
module functions. Forces examples will be redone so I removed it from
branch.
2016-03-05 17:05:02 +01:00
Ray 0dfc7fffff Removed a couple of TODOs 2016-02-23 00:57:50 +01:00
raysan5 d042ed52fa Updated 2016-02-21 16:19:40 +01:00
raysan5 2cc05e5e92 Corrected typo 2016-02-21 16:19:31 +01:00
raysan5 84252f9b70 Uploaded raylib bitcode library (PLATFORM_WEB) 2016-02-20 20:29:20 +01:00
raysan5 83459159f4 Corrected compiler complaint 2016-02-20 19:01:41 +01:00
Ray 954ced21a4 Merge branch 'master' into develop
# Conflicts:
#	src/gestures.c
#	src/makefile
2016-02-20 01:08:43 +01:00
Ray San 98c60838fe Reviewed RPI inputs 2016-02-19 19:57:25 +01:00
Ray 09f28d0f57 Working on RPI gamepad support 2016-02-19 00:16:16 +01:00
Ray San 8aab52aeda Redesigned RPI input system -IN PROGRESS- 2016-02-18 14:05:48 +01:00
Ray afd2ffb74a Updated gestures module
Using normalized [0..1] input points
2016-02-17 13:00:48 +01:00
raysan5 0018522031 Updated show-logo and start reviewing RPI inputs 2016-02-13 19:14:22 +01:00
raysan5 30fafb77db Updated fullscreen issue comment 2016-02-13 17:39:38 +01:00
raysan5 ed19064405 Reviewed physics module
A deeper revision required, not clear enough for the user
Key: Create a PhysicObjects pool
2016-02-13 17:09:53 +01:00
raysan5 94c92a58a1 Some tweaks 2016-02-13 17:08:09 +01:00
raysan5 cbbe948529 Some code tweaks 2016-02-12 19:02:23 +01:00
raysan5 823abf666e Reviewed code TODOs 2016-02-12 12:22:56 +01:00
raysan5 685273675b Improved LoadHeightmap() 2016-02-11 15:51:04 +01:00
raysan5 9cbfcbb820 Add a note about an issue 2016-02-11 14:56:00 +01:00
raysan5 fca83c9ff8 Solve bug on matrix multiply order for scale and rotation 2016-02-11 14:27:18 +01:00
Ray c69ce1d750 Updated comments 2016-02-10 13:54:32 +01:00
Ray 84a6724b33 Fixed a bug 2016-02-10 11:24:02 +01:00
Ray a847df921f Reviewed gestures module 2016-02-10 10:31:06 +01:00
Ray 687fe2c3c7 Updated 2016-02-08 09:06:26 +01:00
Ray e98ea900cf Reviewing gestures module (IN PROGRESS) 2016-02-08 09:06:23 +01:00
Ray 2ef9552454 WARNING message shortened 2016-02-08 09:06:20 +01:00
Ray 6a392f0eb2 GLAD not used on HTML5 2016-02-08 09:06:16 +01:00
raysan5 c00062655f GLAD only available on PLATFORM_DESKTOP 2016-02-07 11:35:36 +01:00
Ray 646f1c3f71 Some formating tweaks 2016-02-03 17:45:28 +01:00
Ray df5c64d0be Functions parameters reorganize: Axis and Angle
sin(), cos() functions cached and replaced by float c99 versions sinf(),
cos()
2016-02-02 18:41:01 +01:00
Ray 65ecde1e75 Cleaned code a little bit 2016-02-02 17:59:13 +01:00
Ray 728e1715cc Redesigned gestures system...
...and improved mouse gestures support
Some testing still required...
2016-02-02 16:43:42 +01:00
Constantine Tarasenkov 13925f7bd4 Add functions to disable and enable cursor 2016-01-29 09:09:18 +03:00
Constantine Tarasenkov e6ad166ae3 2016-01-29 08:02:53 +03:00
Constantine Tarasenkov 5d6475c93b Fix raylib compiling on Linux 2016-01-29 03:22:51 +03:00
raysan5 ac475f46b9 Added touch points id to gestures
Required by ProcessGestureEvent()
2016-01-28 10:03:37 +01:00
raysan5 99f99bea47 Simplified shader matrix uniforms 2016-01-25 13:54:09 +01:00
raysan5 d0ff78e7f4 Move Light struct to example 2016-01-25 13:39:23 +01:00
raysan5 3113a20390 Added bounding box calculation 2016-01-25 11:12:31 +01:00
raysan5 41959eeae1 Added support for mouse gestures (need testing)
Mouse input is interpreted as touches to allow mouse gestures
detection... and get an unified inputs system for all platforms!
2016-01-24 19:17:08 +01:00
raysan5 08da91047e Some code tweaks 2016-01-23 13:22:13 +01:00
raysan5 6e9d3eb0f9 Review comments 2016-01-23 12:37:42 +01:00
victorfisac 233f7611da Fixed hold gesture detection
- Fixed gestures hold detection.
- Improved hold state detection for little touch position increments
(sensitivity).
2016-01-22 17:07:54 +01:00
raysan5 4e57bd1f18 Replaced GLEW by GLAD
Removed GLEW external dependency, now it works with GLAD
Kept GLEW path, just in case... detected weird behaviour when testing
with gDEBugger
2016-01-22 01:22:45 +01:00
raysan5 455be7f6f6 Try to implement GLAD support 2016-01-21 13:52:09 +01:00
raysan5 23d66e9b6f Move extensions loading to core module 2016-01-21 12:24:35 +01:00
raysan5 882e2abee1 Corrected bug 2016-01-21 12:24:12 +01:00
raysan5 68ba34c17b Updated struct types 2016-01-21 01:03:43 +01:00
victorfisac fcd30c5649 Added ray-sphere collision detection 2016-01-20 19:28:47 +01:00
raysan5 cf6c6fefd7 Review some function names for consistency with raymath 2016-01-20 19:23:58 +01:00