mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-05-05 12:54:55 +00:00
* add glm lib in vendor folder * fix makefile * add more help and context to emscripten readme * add correct output parameter to emcc * add how to restart the process to the readme * simplify emscripten compilation * apply patch * fix blur shaders to work with WebGL
12 lines
265 B
C++
Executable File
12 lines
265 B
C++
Executable File
/// @ref gtx_projection
|
|
/// @file glm/gtx/projection.inl
|
|
|
|
namespace glm
|
|
{
|
|
template<typename genType>
|
|
GLM_FUNC_QUALIFIER genType proj(genType const& x, genType const& Normal)
|
|
{
|
|
return glm::dot(x, Normal) / glm::dot(Normal, Normal) * Normal;
|
|
}
|
|
}//namespace glm
|