Otclient  14/8/2020
VertexArray Class Reference

#include <vertexarray.h>

Public Member Functions

void addVertex (float x, float y)
 
void addTriangle (const Point &a, const Point &b, const Point &c)
 
void addRect (const Rect &rect)
 
void addQuad (const Rect &rect)
 
void addUpsideDownQuad (const Rect &rect)
 
void clear ()
 
float * vertices () const
 
int vertexCount () const
 
int size () const
 

Detailed Description

Definition at line 29 of file vertexarray.h.

Member Function Documentation

◆ addQuad()

void VertexArray::addQuad ( const Rect rect)
inline

Definition at line 52 of file vertexarray.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addRect()

void VertexArray::addRect ( const Rect rect)
inline

Definition at line 38 of file vertexarray.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addTriangle()

void VertexArray::addTriangle ( const Point a,
const Point b,
const Point c 
)
inline

Definition at line 33 of file vertexarray.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addUpsideDownQuad()

void VertexArray::addUpsideDownQuad ( const Rect rect)
inline

Definition at line 64 of file vertexarray.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addVertex()

void VertexArray::addVertex ( float  x,
float  y 
)
inline

Definition at line 32 of file vertexarray.h.

Here is the caller graph for this function:

◆ clear()

void VertexArray::clear ( )
inline

Definition at line 76 of file vertexarray.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

int VertexArray::size ( ) const
inline

Definition at line 79 of file vertexarray.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vertexCount()

int VertexArray::vertexCount ( ) const
inline

Definition at line 78 of file vertexarray.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vertices()

float* VertexArray::vertices ( ) const
inline

Definition at line 77 of file vertexarray.h.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: