small changes
This commit is contained in:
parent
8271c23a9e
commit
05db81b92f
@ -587,6 +587,7 @@ Matrix::makeRotation(Matrix *dst, const V3d *axis, float32 angle)
|
||||
dst->pos.y = 0.0;
|
||||
dst->pos.z = 0.0;
|
||||
dst->flags = TYPEORTHONORMAL;
|
||||
dst->pad1 = dst->pad2 = dst->pad3 = 0;
|
||||
}
|
||||
|
||||
/* q must be normalized */
|
||||
@ -616,6 +617,7 @@ Matrix::makeRotation(Matrix *dst, const Quat &q)
|
||||
dst->pos.y = 0.0;
|
||||
dst->pos.z = 0.0;
|
||||
dst->flags = TYPEORTHONORMAL;
|
||||
dst->pad1 = dst->pad2 = dst->pad3 = 0;
|
||||
}
|
||||
|
||||
float32
|
||||
|
@ -15,8 +15,8 @@ extern Device renderdevice;
|
||||
struct Im2DVertex
|
||||
{
|
||||
float32 x, y, z, w;
|
||||
uint32 r, g, b, a;
|
||||
float32 u, v, q, PAD;
|
||||
uint32 r, g, b, a;
|
||||
|
||||
void setScreenX(float32 x) { this->x = x; }
|
||||
void setScreenY(float32 y) { this->y = y; }
|
||||
@ -121,6 +121,7 @@ struct PipeAttribute
|
||||
uint32 attrib;
|
||||
};
|
||||
|
||||
extern bool adcHack; // use MASK write to initialize ADC field in vertex cluster
|
||||
extern PipeAttribute attribXYZ;
|
||||
extern PipeAttribute attribXYZW;
|
||||
extern PipeAttribute attribUV;
|
||||
|
Loading…
Reference in New Issue
Block a user