Files
NazaraEngine/include/Nazara/Graphics/ParticleStruct.hpp
Lynix cf8224b9e1 Graphics: Change ParticleStruct_Sprite position and velocity type from Vector2f to Vector3f
Former-commit-id: 3e608a9622d6c759ca0d9cc42d5f5460a6e4488a [formerly b31994657a126489c141ca6bbd4f7745876b0fb3] [formerly 833df21d1208e31b5141dca3d9777c4822556ddd [formerly 638d3aa5c15845fc49c97727aa00aca2d670bedf]]
Former-commit-id: bb2418f3523c525691ebedf044b47314fcdec6bb [formerly 43c4cae99f5b0a20431e6118f2b134e0a930633f]
Former-commit-id: ffb8160b1574acd1063dab4ca151f420ff0940e8
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