Files
NazaraEngine/include/Nazara/Graphics/ParticleStruct.hpp
Lynix df8da275c4 Switch from Nz prefix to namespace Nz
What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
2015-09-25 19:20:05 +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;
Vector2f position;
Vector2f velocity;
UInt32 life;
float rotation;
};
}
#endif // NAZARA_PARTICLESTRUCT_HPP