Sherjil Ozair
8e9ff75f1c
Use fabsf for floats, and avoid implicit type casting
преди 7 години
Ray
f14492432d
Avoid exposing native GLFW3 functionality
Try to avoid types conflict with Font
преди 7 години
Ray San
ec33e7d705
BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
преди 7 години
Ray San
6045062a05
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
преди 7 години
Ray San
6324697ffd
Rectangle parameters changed to float
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
преди 7 години
Ray San
9d103b7c2f
Removed line breaks from functions
Useful to parse raylib.h to generate raylib-lua and Notepad++
intellisense XML info
преди 7 години
raysan5
198d739256
BREAKING CHANGE: Renamed Camera -> Camera3D
Just added a fallback in the meantime...
преди 7 години
raysan5
400c345f96
Added tangent computation alternative method
As stated in the note, I'm not sure if math is right, just followed a
reference implementation...
преди 7 години
raysan5
23e335d933
Implemented MeshTangents()
- Added Vector3OrthoNormalize() to raymath.h - not sure if it is correct
- Implemented MeshBinormals() - Mesh struct has not a place for them...
- Updated model_material_pbr example - tested but not working on my GPU
(old Intel HD), actually, it never worked on it...
преди 7 години
raysan5
c51203ae7e
Corrected alpha blending on ImageDraw()
преди 7 години
raysan5
dff1028466
Replaced ColorToFloat() by ColorNormalize()
преди 7 години
raysan5
8d81b6e4e4
Support shapes drawing using only QUADS
Also added new compilation FLAGS for that pourpose
преди 7 години
raysan5
ada6668b24
Expose file-dropping functions symbols
преди 7 години
raysan5
ca5f7ebd10
Added compile flag: SUPPORT_SCREEN_CAPTURE
Allow compiling the library with support for automatic screen capture
(KEY_F12)
преди 7 години
Ray
847bdaf682
Implemented default mesh
In case mesh loading fails, a cube is generated instead!
преди 7 години
Ray
76a6bf6c52
Review spacing for cosistency
преди 7 години
lumaio teon
5ef6cc1fb9
Add more key definitions
преди 7 години
Ahmad Fatoum
3f59bdfc76
mini_al: Use WinAPI interlocked ops with tcc
Seems tcc doesn't provide __sync_*. See #435 .
преди 7 години
Ahmad Fatoum
8b0fef6c34
raymath: Workaround tcc inline function limitation
Reported in #435 , tcc generates out-of-line definitions for inline
symbols, something it shouldn't. This fix punishes tcc for that
by making applications it compiles (slightly) larger...
преди 7 години
Ray San
4cc12ef2b3
Review camera definition on examples
преди 7 години
Ray San
cc3b8645df
Updated release version
преди 7 години
Ray
8e44f7b3c7
Reviewed config.h formatting
Added raylib version to config
преди 7 години
Ray
54e24d905a
Init frame timming measure variables
преди 7 години
Ahmad Fatoum
1dbce35247
CMake: Generate config.h from CMakeOptions.txt
I would have liked config.h to be selected by include dir configuration,
but this way is less intrusive.
преди 7 години
Ahmad Fatoum
1841afad11
Refactor all #define SUPPORT_* into a config.h
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.
Later on, config.h can also define the raylib version (#461 ).
преди 7 години
Ahmad Fatoum
d88523f03a
Split CMake options into separate CMakeOptions.txt
преди 7 години
Milan Nikolic
3caa044bf2
Add GNUInstallDirs and USE_AUDIO/USE_WAYLAND options to CMake ( #518 )
преди 7 години
lumaio teon
d2cc5b88df
Removed useless GetCollisionRayMesh and libraylib.a
преди 7 години
lumaio teon
d003c23ecf
Added GetCollisionRayModel
преди 7 години
Ray
b8bd1d2ea6
Remove unnecesary NPOT check
Now PLATFORM checks only used on core and utils modules
преди 7 години
Ray
005f2ffb75
Simplified some code
преди 7 години
Ray
931b672c92
Added: ImageDrawRectangle()
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
преди 7 години
Ray
6edf15b9f9
Added funtion: ExportMesh()
преди 7 години
Ray San
fe1c04d1b8
Removed old code
преди 7 години
Ray
533780aadf
Review ImageDraw() alpha blending
Not sure if math is ok... just left a commented piece of code that uses pre-multiplied alpha.
преди 7 години
raysan5
375adf86a6
Review math usage to reduce temp variables
преди 7 години
raysan5
bbdf9f4880
Review InitWindow() to avoid void pointer
Reviewed for PLATFORM_ANDROID and PLATFORM_UWP
преди 7 години
maficccc@gmail.com
201007e426
Fix sscanf() without field limits can crash with huge input data
преди 7 години
maficccc@gmail.com
db98dba10f
Fix Allocator sizeof operand mismatch
преди 7 години
maficccc@gmail.com
03ca9508bf
Fix Dead initialization
преди 7 години
maficccc@gmail.com
44eedf235d
Redundant assignment of 'angle' to itself
преди 7 години
maficccc@gmail.com
ca9e652f8b
Remove dead assignment
преди 7 години
Martinfx
28a9a181cb
Fix use after free
преди 7 години
maficccc@gmail.com
e659336c11
Fix value stored to 'num_channels' is never read
преди 7 години
Jacques Heunis
b4e2f5b45c
Initialize the timer after the graphics device on desktop and web platforms. ( #516 )
This is already the order that is used for Android. It doesn't appear to
make a difference on desktop but on web using the timer before it's been
initialized (by glfwInit, inside InitGraphicsDevice) causes the a long
(and variable but often several seconds) sleep between the first and
second frame.
Fixes: 468309d ("Early-exit InitWindow if InitGraphicsDevice fails")
преди 7 години
Max Danielsson
6c049fdd76
Move deduplicate aspect variable in begin render.
Changes motivated by commentary in pull request 513
преди 7 години
Max Danielsson
5ecee69088
Add 3d orthographic projection mode
преди 7 години
David Reid
a8e2c7de9c
Fix an infinite loop in ALSA backend of mini_al.
преди 7 години
Ray
deffad1701
Review tabs issue when compiling...
...PLATFORM_ANDROID on Windows, using MinGW-w64 (x86) provided Make (GCC
7.2)
преди 7 години
David Reid
4a69c2d75e
Fix a buffer overflow in the OSS/BSD backend.
преди 7 години