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.

ugeentitywavefrontobj.h 620B

123456789101112131415161718192021222324252627
  1. #ifndef UGEENTITYWAVEFRONTOBJ_H
  2. #define UGEENTITYWAVEFRONTOBJ_H
  3. #include "ugeentity.h"
  4. #include "utils/wavefrontobj.h"
  5. class UGEEntityWaveFrontObj : public UGEEntity
  6. {
  7. Q_OBJECT
  8. public:
  9. explicit UGEEntityWaveFrontObj(WaveFrontObj* obj, UGameEngine* engine, QObject *parent);
  10. explicit UGEEntityWaveFrontObj(WaveFrontObj* obj, UGameEngine* engine);
  11. virtual void onDraw(AbstractRenderDevice* device);
  12. virtual Vector3D getVectorNearestIntesection(const Vector3D &vector, const Vector3D &pos, bool *ok);
  13. signals:
  14. public slots:
  15. private:
  16. WaveFrontObj* _obj;
  17. };
  18. #endif // UGEENTITYWAVEFRONTOBJ_H