$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
projection_utils.glsl File Reference

Functions

void getProjectedBounds (vec2 axis, float radius, float projScale, out float outMin, out float outMax)
 
void computeBillboardSphere (vec3 quadVertexPos, vec3 sphereCenterWorld, float sphereRadius, mat4 view, mat4 projection, out vec4 outClipPos, out vec3 outWorldPos)
 

Function Documentation

◆ computeBillboardSphere()

void computeBillboardSphere ( vec3  quadVertexPos,
vec3  sphereCenterWorld,
float  sphereRadius,
mat4  view,
mat4  projection,
out vec4  outClipPos,
out vec3  outWorldPos 
)
Here is the call graph for this function:

◆ getProjectedBounds()

void getProjectedBounds ( vec2  axis,
float  radius,
float  projScale,
out float  outMin,
out float  outMax 
)