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 527B

1234567891011121314151617181920212223242526
  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, QObject *parent = 0);
  10. virtual void onDraw(AbstractRenderDevice* device);
  11. virtual Vector3D getVectorNearestIntesection(const Vector3D &vector, const Vector3D &pos, bool *ok);
  12. signals:
  13. public slots:
  14. private:
  15. WaveFrontObj* _obj;
  16. };
  17. #endif // UGEENTITYWAVEFRONTOBJ_H