danini-the-panini/mittsu-opengl

View on GitHub
lib/mittsu/opengl/shader/chunks/lights_phong_vertex.glsl

Summary

Maintainability
Test Coverage
#if MAX_SPOT_LIGHTS > 0 || defined( USE_BUMPMAP ) || defined( USE_ENVMAP )

    vWorldPosition = worldPosition.xyz;

#endif