Files
NazaraEngine/include/Nazara/Graphics/ParticleStruct.hpp
Lynix e4211b13a0 Graphics: Change ParticleStruct_Sprite position and velocity type from Vector2f to Vector3f
Former-commit-id: 5a2e3b02fced8d8ef08a55edf6cc246d30ec2436 [formerly b628e1509d43b8e47d3fdddb5d4ea56e49ed1c07] [formerly f35249524a6f3079ea7cb042e552c10d902afefe [formerly 23cbf8238b8d7d610352c6b159543c86e4de9cbf]]
Former-commit-id: 851b59b1079848fbdc5ddd4af59dbbe8c0b78fe7 [formerly 577851856f53246120e73e55ab3b848df6156078]
Former-commit-id: 0b2af1ee989dd5184199b0caf6be9c39fa08bbf3
2016-08-03 13:47:17 +02:00

46 lines
855 B
C++

// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_PARTICLESTRUCT_HPP
#define NAZARA_PARTICLESTRUCT_HPP
#include <Nazara/Core/Color.hpp>
#include <Nazara/Math/Quaternion.hpp>
#include <Nazara/Math/Vector2.hpp>
#include <Nazara/Math/Vector3.hpp>
namespace Nz
{
struct ParticleStruct_Billboard
{
Color color;
Vector3f normal;
Vector3f position;
Vector3f velocity;
UInt32 life;
float rotation;
};
struct ParticleStruct_Model
{
Vector3f position;
Vector3f velocity;
UInt32 life;
Quaternionf rotation;
};
struct ParticleStruct_Sprite
{
Color color;
Vector3f position;
Vector3f velocity;
UInt32 life;
float rotation;
};
}
#endif // NAZARA_PARTICLESTRUCT_HPP