Files
NazaraEngine/include/Nazara/Graphics/ParticleStruct.hpp
Lynix e9deac3802 Graphics/ParticleStruct: Add size member to ParticleStruct_Billboard
Former-commit-id: c8578baad436d18d609d4cc7cf1d773ba01b8616 [formerly fff8b8fce1a6b0a5330dc983e46676d9de6bc810] [formerly 9d584febdb50e4680d4beb24c5fb65371b838ffa [formerly cdbfc358e3c66ade396353c5d996c6d5c7fba313]]
Former-commit-id: 54ab0d22f7e947a2ee01fa9f36bd0e81af40e91d [formerly fc75d5fcd8351f4c9bccfd4c3a57131365d52ea4]
Former-commit-id: 79f3c8b08ad0089988e59139baaf87bf2aa5460b
2016-09-26 13:19:30 +02:00

47 lines
872 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;
Vector2f size;
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