MeshSubSet.cpp 505 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #include "MeshSubSet.h"
  2. namespace gameplay
  3. {
  4. MeshSubSet::MeshSubSet(void)
  5. {
  6. }
  7. MeshSubSet::~MeshSubSet(void)
  8. {
  9. }
  10. unsigned int MeshSubSet::getTypeId(void)
  11. {
  12. return MESHPART_ID;
  13. }
  14. const char* MeshSubSet::getElementName(void)
  15. {
  16. return "MeshSubSet";
  17. }
  18. void MeshSubSet::writeBinary(FILE* file)
  19. {
  20. write(getTypeId(), file);
  21. }
  22. void MeshSubSet::writeText(FILE* file)
  23. {
  24. fprintElementStart(file);
  25. fprintfElement(file, "%d ", "indices", indices);
  26. fprintElementEnd(file);
  27. }
  28. }