Former-commit-id: 8697752459c0f8a99c545ae41eedf6e0382c366e [formerly a855bebde268850fba035f3981e3e907acf33232] [formerly 2894f133ef2b92b49a0642df95393939269ee50b [formerly 348a5a1f8745537e3fb20a0aeac5e89a6f831c19]] Former-commit-id: 50a4cef7ee7ac3be85cc9ccc6a6b194c4beb79f2 [formerly 49fdda2e6a597ed6251d822ff4b189442c5a9296] Former-commit-id: ee48615b811e902841ff29529c15a6910fc8e1c1
46 lines
855 B
C++
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
|