| Age | Commit message (Collapse) | Author |
|
Useful to get a piece of text, could be used for text typing animations
|
|
Corrected some code details
|
|
- 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.
|
|
- 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.
|
|
- 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.
|
|
BeginDrawing() function with extended parameters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mouse button values are inverted!
|
|
Updated functions:
Image GetTextureData(Texture2D texture);
void *rlglReadTexturePixels(Texture2D texture);
|
|
|
|
|
|
LoadTextureEx() - Simplified parameters
UpdateTexture() - Added, allows updating GPU texture data
|
|
Added Alpha Numeric Mapping For Develop Branch
|
|
Required gestures module when compiling for Android and Web
|
|
|
|
|
|
|
|
GLFW mappings.
|
|
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);
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 949e93f9fe6240979fb4b25a64584f4791387733.
|
|
|
|
|
|
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()
|
|
- Renamed function rlEnableFBO() -> rlEnablePostproFBO()
- Defined struct FBO
- Moved FBO creation to function: rlglLoadFBO()
- Reviewed rlglReadTexturePixels(), trying to support OpenGL ES -IN
PROGRESS-
|
|
Time measure on Windows platform done with:
QueryPerformanceCounter()
Testing required!
|
|
Corrected bug on defaultFont.size
Renamed funcs:
ImageConvertFormat() -> ImageFormat()
ImageConvertToPOT() -> ImageToPOT()
|
|
|
|
|
|
...shapes based on LINES, TRIANGLES and QUADS. Now the calling order of
the drawing functions is respected!
|
|
|
|
strdup() is not a C99 function (it's POSIX), not available in emscripten
|
|
On OpenGL ES it was set to use GL_CLAMP_TO_EDGE wrap mode for textures.
On LoadOBJ() texture coordinates were wrongly Y-flipped
|
|
|
|
|
|
[rlgl] Extensions strings loading was redone to avoid a Segmentation
Fault on Raspberry Pi
|
|
|
|
Splitted into:
UpdateCamera() // Update only camera
UpdateCameraPlayer() // Update camera and player position
|
|
|
|
|
|
|