N. Pattakos
dccf008e4c
delete duplicated lines
2022-11-11 00:05:19 +01:00
N. Pattakos
93be6f82ab
update merge request as requested by JoeyDeVries: no auto or GLtypes
2022-01-10 00:45:44 +01:00
N. Pattakos
72f3e37150
fix narrowing conversions (eg double to float, size_t to GLsizei)
2022-01-08 00:20:26 +01:00
Nipun Ramani
89f3a18dd0
Corrected ambient lighting calculation
2021-10-17 18:30:59 +05:30
Joey de Vries
f36653f736
Source/model tweaks for updated revision.
2020-05-04 10:57:08 +02:00
Joey de Vries
91f53af052
Remove unnecessary 'uncomment' statement from all code samples.
2020-04-22 16:37:07 +02:00
Toni Uhlig
dcdf94fce7
fixed compiler warnings reported by gcc/clang
...
* changed some catch blocks to use exception references instead of value types
* fixed missing use of SCR_WIDTH/SCR_HEIGHT for glfwCreateWindow
* fixed implicit numeric type casts regarding signedness
* removed unused variables
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-03-18 18:34:17 +01:00
Joey de Vries
f4b6763356
Update GLM to latest version (0.9.9.3). This includes GLM's change of matrices no longer default initializing to the identity matrix. This commit thus also includes the update of all of LearnOpenGL's code to reflect this: all matrices are now constructor-initialized to the identity matrix where relevant.
2018-12-30 14:27:14 +01:00
Joey de Vries
2e0035a8d4
fix: use radians instead of degrees for camera zoom.
2017-09-21 08:35:13 +02:00
Shivpratap Chauhan
2d16ef0fe2
GLFW hint GLFW_OPENGL_FORWARD_COMPAT is must on osx to create glfw
...
window successfully
2017-07-12 17:06:00 +05:30
Matthew Taylor
4a94fbf2bf
Add commented out code to allow window creation on OSX
2017-06-18 01:53:16 +01:00
Joey de Vries
5eddf64303
Code and content re-work: advanced lighting.
2017-06-02 22:53:53 +02:00
Joey de Vries
f844f7c541
Code and content re-work: advanced OpenGL and advanced lighting.
2017-06-01 22:04:34 +02:00
Joey de Vries
85530ab997
Code re-work: shadow mapping.
2017-04-22 20:40:35 +02:00
Joey de Vries
cdcc3be029
Code re-work: advanced lighting.
2017-04-22 17:07:31 +02:00