summaryrefslogtreecommitdiffstats
path: root/res/effectlib/cube.glsllib
blob: 28e82a709f5ae2780ec8444248cc439f83d44395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
float cube( in float x )
{
  return( x * x * x );
}

vec2 cube( in vec2 x )
{
  return( x * x * x );
}

vec3 cube( in vec3 x )
{
  return( x * x * x );
}

vec4 cube( in vec4 x )
{
  return( x * x * x );
}