Search notes:

OpenGL ES Shading Language

It seems that the «ES» stands for Embedded Subset.
Apparently, the OpenGL ES Shading Language is a (strict?) subset of the OpenGL Shading Language.

int vs float

42 is an integer, not a float. The following assignment produces the error Cannot convert from const int to highp float.
float num = 42;
Thus, in order to assign a number to a float, it must be made sure that a float is assigned:
float num = 42.0;

Constants

const float PI = radians(180.0);

See also

The WebGLRenderingContext and WebGL2RenderingContext interface allow to draw onto a <canvas> HTML element.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758206548, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/WebGL/OpenGL-ES-Shading-Language/index(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78