summaryrefslogtreecommitdiffstats
path: root/model.h
blob: b219f8f01d915d3760e6d1b2f4879cec67749137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef MODEL_H
#define MODEL_H

#include <QVector>

#include <math.h>

#include "point3d.h"

class Model
{
public:
    Model(const QString &filename);

    void render(bool wireframe = false, bool normals = false) const;

private:
    QVector<Point3d> m_points;
    QVector<Point3d> m_normals;
    QVector<Point3d> m_edges;
    QVector<int> m_pointIndices;
};

#endif