You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 regels
242 B

  1. vec4 getPosition()
  2. {
  3. return a_position;
  4. }
  5. #if defined(LIGHTING)
  6. vec3 getNormal()
  7. {
  8. return a_normal;
  9. }
  10. #if defined(BUMPED)
  11. vec3 getTangent()
  12. {
  13. return a_tangent;
  14. }
  15. vec3 getBinormal()
  16. {
  17. return a_binormal;
  18. }
  19. #endif
  20. #endif