Graphics/ParticleStruct: Replace life type from UInt32 to float
This commit is contained in:
@@ -21,16 +21,16 @@ namespace Nz
|
|||||||
Vector3f normal;
|
Vector3f normal;
|
||||||
Vector3f position;
|
Vector3f position;
|
||||||
Vector3f velocity;
|
Vector3f velocity;
|
||||||
UInt32 life;
|
float life;
|
||||||
float rotation;
|
float rotation;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ParticleStruct_Model
|
struct ParticleStruct_Model
|
||||||
{
|
{
|
||||||
|
Quaternionf rotation;
|
||||||
Vector3f position;
|
Vector3f position;
|
||||||
Vector3f velocity;
|
Vector3f velocity;
|
||||||
UInt32 life;
|
float life;
|
||||||
Quaternionf rotation;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ParticleStruct_Sprite
|
struct ParticleStruct_Sprite
|
||||||
@@ -38,7 +38,7 @@ namespace Nz
|
|||||||
Color color;
|
Color color;
|
||||||
Vector3f position;
|
Vector3f position;
|
||||||
Vector3f velocity;
|
Vector3f velocity;
|
||||||
UInt32 life;
|
float life;
|
||||||
float rotation;
|
float rotation;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user