Object3d.cpp
Upload User: hcfgz168
Upload Date: 2011-09-11
Package Size: 116k
Code Size: 1k
Category:

OpenGL program

Development Platform:

WINDOWS

  1. //********************************************
  2. // Object3d.cpp
  3. //********************************************
  4. // class CObject3d, the base 3d object
  5. //********************************************
  6. // pierre.alliez@cnet.francetelecom.fr
  7. // Created : 17/12/97
  8. // Modified : 15/01/98
  9. //********************************************
  10. #include "stdafx.h"
  11. #include "Base3d.h"
  12. #include "Object3d.h"
  13. //********************************************
  14. // GetType
  15. //********************************************
  16. int CObject3d::GetType()
  17. {
  18. return TYPE_OBJECT3D;
  19. }
  20. //********************************************
  21. // glBuildList
  22. //********************************************
  23. int CObject3d::glBuildList()
  24. {
  25. AfxMessageBox("CObject3d::BuildList : virtual function");
  26. return 1;
  27. }
  28. //********************************************
  29. // glDraw
  30. //********************************************
  31. int CObject3d::glDraw()
  32. {
  33. AfxMessageBox("CObject3d::BuildList : virtual function");
  34. return 1;
  35. }
  36. // ** EOF **