3D City v-1.0
Computer Graphics Project
Vertex2 Struct Reference

Vertex + extra info required for shading. More...

#include <engine.h>

Public Member Functions

 Vertex2 (const Vertex &vin, const EXTRA_VERTEX_INFO &pos)
 
 Vertex2 ()
 
Vertex2 operator* (const float &f) const
 
Vertex2 operator+ (const Vertex2 &f) const
 
Vertex2 operator- (const Vertex2 &f) const
 

Public Attributes

Vertex v
 
EXTRA_VERTEX_INFO extraInfoAboutVertex
 

Detailed Description

Vertex + extra info required for shading.

Definition at line 74 of file engine.h.

Constructor & Destructor Documentation

◆ Vertex2() [1/2]

Vertex2::Vertex2 ( const Vertex &  vin,
const EXTRA_VERTEX_INFO &  pos 
)
inline

Definition at line 78 of file engine.h.

◆ Vertex2() [2/2]

Vertex2::Vertex2 ( )
inline

Definition at line 79 of file engine.h.

Member Function Documentation

◆ operator*()

Vertex2 Vertex2::operator* ( const float &  f) const
inline

Definition at line 80 of file engine.h.

◆ operator+()

Vertex2 Vertex2::operator+ ( const Vertex2 &  f) const
inline

Definition at line 83 of file engine.h.

◆ operator-()

Vertex2 Vertex2::operator- ( const Vertex2 &  f) const
inline

Definition at line 86 of file engine.h.

Member Data Documentation

◆ extraInfoAboutVertex

EXTRA_VERTEX_INFO Vertex2::extraInfoAboutVertex

Definition at line 77 of file engine.h.

◆ v

Vertex Vertex2::v

Definition at line 75 of file engine.h.