25 lines
452 B
C++
25 lines
452 B
C++
#pragma once
|
|
class Vertex
|
|
{
|
|
public:
|
|
Vertex(float x, float y, float z, float nx, float ny, float nz, float tx, float ty);
|
|
~Vertex();
|
|
|
|
float x;
|
|
float y;
|
|
float z;
|
|
|
|
float normalX;
|
|
float normalY;
|
|
float normalZ;
|
|
|
|
float texX;
|
|
float texY;
|
|
|
|
Vertex operator/(const float &other) const;
|
|
Vertex operator*(const Vertex &other) const;
|
|
Vertex operator*(const float &other) const;
|
|
Vertex operator+(const Vertex &other) const;
|
|
};
|
|
|