MercuryDisplaySoftwareC.cpp File Reference

#include "MercuryDisplaySoftwareC.h"
#include "MercuryLog.h"

Go to the source code of this file.

Defines

#define PLOT(p, c)
#define FASTCROSSCHECK(x, y, p1x, p1y, p2x, p2y)   ( ( (p1x-x)*(p2y-y) - (p2x-x)*(p1y-y) ) > 0 )

Functions

void SWCVectorMultiply (MercuryMatrix &m, float *p, float *out)
static void TexmapAddRows (float *fRowWork, float *fRowMultiply, float fQuantity)
static void TexmapScaleRow (float *fRowWork, float fQuantity)
static float fTMMatrix[24] M_ALIGN (128)
static void TexmapSolutionMatrix ()

Variables

static const int iRowWidth = 8
static const int iRowWidth2 = 16


Define Documentation

#define FASTCROSSCHECK ( x,
y,
p1x,
p1y,
p2x,
p2y   )     ( ( (p1x-x)*(p2y-y) - (p2x-x)*(p1y-y) ) > 0 )

Definition at line 247 of file MercuryDisplaySoftwareC.cpp.

#define PLOT ( p,
 ) 

Value:

if ( p.w < 0 )\
            continue;\
        if( p.x < m_width && p.y <= m_height && p.x >= 0 && p.y >= 0)\
            m_cBuffer[ (int( p.x ) + int( p.y )* m_width ) * m_bypp + c] = char(255);

Definition at line 241 of file MercuryDisplaySoftwareC.cpp.


Function Documentation

static float fTMMatrix [24] M_ALIGN ( 128   )  [static]

void SWCVectorMultiply ( MercuryMatrix m,
float *  p,
float *  out 
)

Definition at line 208 of file MercuryDisplaySoftwareC.cpp.

static void TexmapAddRows ( float *  fRowWork,
float *  fRowMultiply,
float  fQuantity 
) [static]

Definition at line 250 of file MercuryDisplaySoftwareC.cpp.

static void TexmapScaleRow ( float *  fRowWork,
float  fQuantity 
) [static]

Definition at line 262 of file MercuryDisplaySoftwareC.cpp.

static void TexmapSolutionMatrix (  )  [static]

Definition at line 278 of file MercuryDisplaySoftwareC.cpp.


Variable Documentation

const int iRowWidth = 8 [static]

Definition at line 274 of file MercuryDisplaySoftwareC.cpp.

const int iRowWidth2 = 16 [static]

Definition at line 275 of file MercuryDisplaySoftwareC.cpp.


Hosted by SourceForge.net Logo