PDA

View Full Version : What do you do when your video card doesn't support ARB Extensions?



Shamino
10-23-2005, 05:49 PM
Alright, I'm this far on a software vertex buffer system

</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">class Vector3
{
float x,y,z;
public:
Vector3(const Vector3 &v)
{
x=v.x;
y=v.y;
z=v.z;
}

Vector3(void):x(0.0f),y(0.0f),z(0.0f) {}
Vector3(float vx,float vy,float vz):x(vx),y(vy),z(vz) {}

Vector3 &operator = (const Vector3 &v)
{
x=v.x;
y=v.y;
z=v.z;
return *this;
}

bool operator ==(const Vector3 &v) const
{
return x==v.x && y==v.y && z==v.z;
}

bool operator !=(const Vector3 &v) const
{
return x!=v.x