Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
VectorProcessorClass Class Reference

#include <vp.h>

Static Public Member Functions

static void Transform (Vector3 *dst, const Vector3 *src, const Matrix3D &matrix, const int count)
 
static void Transform (Vector4 *dst, const Vector3 *src, const Matrix4x4 &matrix, const int count)
 
static void Copy (unsigned *dst, const unsigned *src, const int count)
 
static void Copy (Vector2 *dst, const Vector2 *src, const int count)
 
static void Copy (Vector3 *dst, const Vector3 *src, const int count)
 
static void Copy (Vector4 *dst, const Vector4 *src, const int count)
 
static void Copy (Vector4 *dst, const Vector3 *src, const float *srca, const int count)
 
static void Copy (Vector4 *dst, const Vector3 *src, const float srca, const int count)
 
static void Copy (Vector4 *dst, const Vector3 &src, const float *srca, const int count)
 
static void CopyIndexed (unsigned *dst, const unsigned *src, const unsigned int *index, const int count)
 
static void CopyIndexed (Vector2 *dst, const Vector2 *src, const unsigned int *index, const int count)
 
static void CopyIndexed (Vector3 *dst, const Vector3 *src, const unsigned int *index, const int count)
 
static void CopyIndexed (Vector4 *dst, const Vector4 *src, const unsigned int *index, const int count)
 
static void CopyIndexed (unsigned char *dst, const unsigned char *src, const unsigned int *index, int count)
 
static void CopyIndexed (float *dst, float *src, const unsigned int *index, int count)
 
static void Clamp (Vector4 *dst, const Vector4 *src, const float min, const float max, const int count)
 
static void Clear (Vector3 *dst, const int count)
 
static void Normalize (Vector3 *dst, const int count)
 
static void MinMax (Vector3 *src, Vector3 &min, Vector3 &max, const int count)
 
static void MulAdd (float *dest, float multiplier, float add, int count)
 
static void Prefetch (void *address)
 
static void DotProduct (float *dst, const Vector3 &a, const Vector3 *b, const int count)
 
static void ClampMin (float *dst, float *src, const float min, const int count)
 
static void Power (float *dst, float *src, const float pow, const int count)
 

Detailed Description

Definition at line 61 of file vp.h.

Member Function Documentation

◆ Clamp()

void VectorProcessorClass::Clamp ( Vector4 * dst,
const Vector4 * src,
const float min,
const float max,
const int count )
static

Definition at line 459 of file vp.cpp.

◆ ClampMin()

void VectorProcessorClass::ClampMin ( float * dst,
float * src,
const float min,
const int count )
static

Definition at line 529 of file vp.cpp.

◆ Clear()

void VectorProcessorClass::Clear ( Vector3 * dst,
const int count )
static

Definition at line 480 of file vp.cpp.

◆ Copy() [1/7]

void VectorProcessorClass::Copy ( unsigned * dst,
const unsigned * src,
const int count )
static

Definition at line 333 of file vp.cpp.

◆ Copy() [2/7]

void VectorProcessorClass::Copy ( Vector2 * dst,
const Vector2 * src,
const int count )
static

Definition at line 327 of file vp.cpp.

◆ Copy() [3/7]

void VectorProcessorClass::Copy ( Vector3 * dst,
const Vector3 * src,
const int count )
static

Definition at line 339 of file vp.cpp.

◆ Copy() [4/7]

void VectorProcessorClass::Copy ( Vector4 * dst,
const Vector3 & src,
const float * srca,
const int count )
static

Definition at line 379 of file vp.cpp.

◆ Copy() [5/7]

void VectorProcessorClass::Copy ( Vector4 * dst,
const Vector3 * src,
const float * srca,
const int count )
static

Definition at line 351 of file vp.cpp.

◆ Copy() [6/7]

void VectorProcessorClass::Copy ( Vector4 * dst,
const Vector3 * src,
const float srca,
const int count )
static

Definition at line 365 of file vp.cpp.

◆ Copy() [7/7]

void VectorProcessorClass::Copy ( Vector4 * dst,
const Vector4 * src,
const int count )
static

Definition at line 345 of file vp.cpp.

◆ CopyIndexed() [1/6]

void VectorProcessorClass::CopyIndexed ( float * dst,
float * src,
const unsigned int * index,
int count )
static

Definition at line 448 of file vp.cpp.

◆ CopyIndexed() [2/6]

void VectorProcessorClass::CopyIndexed ( unsigned * dst,
const unsigned * src,
const unsigned int * index,
const int count )
static

Definition at line 393 of file vp.cpp.

◆ CopyIndexed() [3/6]

void VectorProcessorClass::CopyIndexed ( unsigned char * dst,
const unsigned char * src,
const unsigned int * index,
int count )
static

Definition at line 437 of file vp.cpp.

◆ CopyIndexed() [4/6]

void VectorProcessorClass::CopyIndexed ( Vector2 * dst,
const Vector2 * src,
const unsigned int * index,
const int count )
static

Definition at line 404 of file vp.cpp.

◆ CopyIndexed() [5/6]

void VectorProcessorClass::CopyIndexed ( Vector3 * dst,
const Vector3 * src,
const unsigned int * index,
const int count )
static

Definition at line 415 of file vp.cpp.

◆ CopyIndexed() [6/6]

void VectorProcessorClass::CopyIndexed ( Vector4 * dst,
const Vector4 * src,
const unsigned int * index,
const int count )
static

Definition at line 426 of file vp.cpp.

◆ DotProduct()

void VectorProcessorClass::DotProduct ( float * dst,
const Vector3 & a,
const Vector3 * b,
const int count )
static

Definition at line 523 of file vp.cpp.

◆ MinMax()

void VectorProcessorClass::MinMax ( Vector3 * src,
Vector3 & min,
Vector3 & max,
const int count )
static

Definition at line 496 of file vp.cpp.

◆ MulAdd()

void VectorProcessorClass::MulAdd ( float * dest,
float multiplier,
float add,
int count )
static

Definition at line 516 of file vp.cpp.

◆ Normalize()

void VectorProcessorClass::Normalize ( Vector3 * dst,
const int count )
static

Definition at line 487 of file vp.cpp.

◆ Power()

void VectorProcessorClass::Power ( float * dst,
float * src,
const float pow,
const int count )
static

Definition at line 535 of file vp.cpp.

◆ Prefetch()

void VectorProcessorClass::Prefetch ( void * address)
static

Definition at line 66 of file vp.cpp.

◆ Transform() [1/2]

void VectorProcessorClass::Transform ( Vector3 * dst,
const Vector3 * src,
const Matrix3D & matrix,
const int count )
static

Definition at line 80 of file vp.cpp.

◆ Transform() [2/2]

void VectorProcessorClass::Transform ( Vector4 * dst,
const Vector3 * src,
const Matrix4x4 & matrix,
const int count )
static

Definition at line 315 of file vp.cpp.


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