Ray
646f1c3f71
Some formating tweaks
9 yıl önce
Ray
df5c64d0be
Functions parameters reorganize: Axis and Angle
sin(), cos() functions cached and replaced by float c99 versions sinf(),
cos()
9 yıl önce
Ray
728e1715cc
Redesigned gestures system...
...and improved mouse gestures support
Some testing still required...
9 yıl önce
Constantine Tarasenkov
13925f7bd4
Add functions to disable and enable cursor
9 yıl önce
raysan5
99f99bea47
Simplified shader matrix uniforms
9 yıl önce
raysan5
3113a20390
Added bounding box calculation
9 yıl önce
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!
9 yıl önce
raysan5
08da91047e
Some code tweaks
9 yıl önce
raysan5
6e9d3eb0f9
Review comments
9 yıl önce
victorfisac
fcd30c5649
Added ray-sphere collision detection
9 yıl önce
victorfisac
25f5995be0
Revert "Added ray-sphere collision detection"
This reverts commit 423a45ac85
.
9 yıl önce
raysan5
c5663ca015
Some formatting tweaks
9 yıl önce
raysan5
efa1c96d19
Adapted raymath as single header library
Added support for single header implementation and also inline functions
support
9 yıl önce
victorfisac
423a45ac85
Added ray-sphere collision detection
- Added simple ray-sphere collision detection.
- Added extra function with extended parameters to obtain collision
point vector.
- Fixed bounding box calculations init values (were causing compiling
errors).
9 yıl önce
raysan5
fd05d3e353
Rename VertexData struct to Mesh
Reviewed vertex type variables
9 yıl önce
raysan5
fb6ef2c2f4
Vertex shaders optimization
9 yıl önce
victorfisac
4cc394c376
Added world to screen conversion
- Added function WorldToScreen(...).
- Added world to screen example.
- Review GetMouseRay() comment.
- Removed deprecated lighting functions from raylib header.
9 yıl önce
raysan5
5e7686695f
Review Light/Material system
Simplified for the user (more intuitive and clear)
Removed lighting module dependency
9 yıl önce
victorfisac
1793f2c3b8
Added collision check between ray and box
- Added CheckCollisionRayBox() function.
- Updated and improved core 3d picking example (currently working as
expected).
9 yıl önce
victorfisac
fe0cf8f9a9
Added some comments and fixed spaces
9 yıl önce
victorfisac
ea50092356
Add Android physic buttons input detection
- Added functions for detect when pressed, during down and when
released.
- Added defines for back, menu, volume up and down button numbers.
9 yıl önce
raysan5
70d405b41b
Added functionality: Storage values
Two new functions added to save/load values as binary data:
- StorageSaveValue()
- StorageLoadValue()
9 yıl önce
victorfisac
a299bc289b
Improved and added functions to physac engine module
- Improved physics calculations.
- Added AddForceAtPosition function (added to all enabled rigidbodies).
- Updated raylib header.
9 yıl önce
raysan5
d32feaa668
Reviewed Android inputs and gestures system
Corrected Android processing for some inputs (BACK button, VOLUME
buttons)
Redesigned Gestures system (some work still required)
SetEnabledGestures() - Only support desired gestures (requires some
review)
9 yıl önce
raysan5
fa057f512f
Improved fonts support
Added LoadBMFont() to load AngelCode fonts (.fnt)
Implemented LoadTTF() to load .ttf fonts (crappy packaging)
9 yıl önce
raysan5
5dbb93dbb4
Added function: ImageDither()
Corrected some code details
9 yıl önce
victorfisac
e683fe88b9
Added physics engine-module and example
- Added new physics engine-module with four new data types: Physics,
Transform, Rigidbody and Collider. This library contains functions to
apply physics calculations to a position vector calculating collisions
automatically.
- Fixed some writing mistakes of lighting module.
9 yıl önce
victorfisac
1bcb5ddd50
Added lighting engine module
- New lighting engine module which contains new data types Light and
Material. These data types and functions facilitates making a basic 3D
iluminated program with a light and a model.
- Added lighting engine module example (currently included in raylib.h;
it might be compiled by separate and include lighting.h in game source C
file).
- Corrected some opengl defines control structures and added some TODO
to fix raylib-opengl 1.1 source build (note: now source can be compiled
without errors, but rlglReadPixels() won't work properly).
Note: most of functions of phong version 330 shader are not in v100
shaders, so I couldn't write a version 100 phong shader. These functions
are included from version 150.
9 yıl önce
victorfisac
4db2da9185
Added new matrix location points and extra functions
- New model and view transformation matrix added, useful for shaders.
Modelview matrix not deleted to keep opengl 1.1 pipeline compatibility.
- New extra function added DrawModelWiresEx() to set a rotation and
scale transformations to a wire model drawing.
- Other writing and little audio.c bug fixed.
9 yıl önce
raysan5
1b39b2e261
Added BeginDrawingEx()
BeginDrawing() function with extended parameters
9 yıl önce
Ray
c17c1ccaea
Corrected html5 glfw3 bug
Mouse button values are inverted!
9 yıl önce
Ray
76024b5036
Added some texture functionality (view details)
LoadTextureEx() - Simplified parameters
UpdateTexture() - Added, allows updating GPU texture data
9 yıl önce
Ray
580c0a7296
Moved gestures touch functionality back to core
Required gestures module when compiling for Android and Web
9 yıl önce
Joshua Reisenauer
932396922d
Added Alpha Numeric Mapping For Develop Branch
GLFW mappings.
9 yıl önce
Ray
afdf357fbe
Added some image manipulation functions
Added (or completed functions):
Image ImageText(const char *text, int fontSize, Color color);
Image ImageTextEx(SpriteFont font, const char *text, int fontSize, int
spacing, Color tint);
void ImageFlipVertical(Image *image);
void ImageFlipHorizontal(Image *image);
void ImageColorTint(Image *image, Color color);
void ImageColorInvert(Image *image);
void ImageColorGrayscale(Image *image);
void ImageColorContrast(Image *image, float contrast);
void ImageColorBrightness(Image *image, int brightness);
9 yıl önce
raysan5
9bf411f580
Added a bunch of image manipulation functions:
Renamed functions (for coherence with new ones):
- ImageConvertToPOT() -> ImageToPOT()
- ImageConvertFormat() -> ImageFormat()
New functions added (IN PROGRESS):
- ImageCopy()
- ImageCrop()
- ImageResize() (Uses stb_image_resize.h)
- ImageDraw()
- ImageDrawText()
- ImageDrawTextEx()
- ImageFlipVertical()
- ImageFlipHorizontal()
- ImageColorInvert()
- ImageColorGrayscale()
- ImageColorContrast()
- ImageColorBrightness()
9 yıl önce
raysan5
50c5df0838
Added some comments
9 yıl önce
raysan5
92bcf09c53
Redesigned SpriteFont struct
9 yıl önce
raysan5
c52ba520ce
Small tweaks
9 yıl önce
raysan5
b8b0247043
Added function SetBlendMode()
Useful to enable additive blend mode for particles
9 yıl önce
raysan5
6e4cfa5ecf
Added camera and gestures modules functions
9 yıl önce
raysan5
552033da27
Move shaders functions to module rlgl
Shader functionality owns to rlgl, not core module
9 yıl önce
raysan5
c944d62374
Improved mipmaps support and image loading
9 yıl önce
raysan5
024e48850e
Corrected camera issue and added function
9 yıl önce
raysan5
d9c5614342
Updated shader system
9 yıl önce
raysan5
fd851d1d8b
Improved custom shaders support
Corrected issues with textures loading
10 yıl önce
raysan5
a7714c842f
raymath module review and other changes
Complete review of matrix rotation math
Check compressed textures support
WIP: LoadImageFromData()
10 yıl önce
raysan5
eae98e1c34
Big batch of changes, check description:
- Camera system moved to a separate module [camera.c]
- WIP: Added customization functions for camera controls
- Added custom shaders support on batch drawing
- Complete redesign of textures module to support multiple texture
formats (compressed and uncompressed)
10 yıl önce
raysan5
ba257b09f5
Corrected input bug
10 yıl önce
raysan5
7db895ab5d
Corrected some bugs and warnings
10 yıl önce