Support Forum       G3D Web Page     
Classes | Namespaces | Macros
VoxelSurface_vertex.glsl File Reference

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...

Classes

class  glsl::VoxelSurface_vertex_glsl
 Shader program. More...
 

Namespaces

 glsl
 

Macros

#define ANIMATION   0
 
#define ANIMATION   0
 
#define ANIMATION   0
 
#define ANIMATION   0
 
#define PROJ(offset)
 
#define PROJ(offset)
 
#define PROJ(offset)
 
#define PROJ(offset)
 

Detailed Description

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.

Macro Definition Documentation

◆ ANIMATION [1/4]

#define ANIMATION   0

◆ ANIMATION [2/4]

#define ANIMATION   0

◆ ANIMATION [3/4]

#define ANIMATION   0

◆ ANIMATION [4/4]

#define ANIMATION   0

◆ PROJ [1/4]

#define PROJ (   offset)
Value:
{\
vec4 temp = M * vec4(offset * voxelRadius + osPosition, 1.0); \
temp.xy /= max(temp.w, 0.001); \
mean += temp.xy; \
lo = min(temp.xy, lo); hi = max(temp.xy, hi); \
}
T max(const T &x, const T &y)
Definition: g3dmath.h:278
T min(const T &x, const T &y)
Definition: g3dmath.h:260

◆ PROJ [2/4]

#define PROJ (   offset)
Value:
{\
vec4 temp = M * vec4(offset * voxelRadius + osPosition, 1.0); \
temp.xy /= max(temp.w, 0.001); \
mean += temp.xy; \
lo = min(temp.xy, lo); hi = max(temp.xy, hi); \
}
T max(const T &x, const T &y)
Definition: g3dmath.h:278
T min(const T &x, const T &y)
Definition: g3dmath.h:260

◆ PROJ [3/4]

#define PROJ (   offset)
Value:
{\
vec4 temp = M * vec4(offset * voxelRadius + osPosition, 1.0); \
temp.xy /= max(temp.w, 0.001); \
mean += temp.xy; \
lo = min(temp.xy, lo); hi = max(temp.xy, hi); \
}
T max(const T &x, const T &y)
Definition: g3dmath.h:278
T min(const T &x, const T &y)
Definition: g3dmath.h:260

◆ PROJ [4/4]

#define PROJ (   offset)
Value:
{\
vec4 temp = M * vec4(offset * voxelRadius + osPosition, 1.0); \
temp.xy /= max(temp.w, 0.001); \
mean += temp.xy; \
lo = min(temp.xy, lo); hi = max(temp.xy, hi); \
}
T max(const T &x, const T &y)
Definition: g3dmath.h:278
T min(const T &x, const T &y)
Definition: g3dmath.h:260

documentation generated on Wed Nov 24 2021 08:01:50 using doxygen 1.8.15