1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-08 03:42:35 +01:00
openrw/rwengine/include/data/InstanceData.hpp

32 lines
422 B
C++
Raw Normal View History

2013-12-05 08:23:07 +01:00
#pragma once
#ifndef __INSTANCEDATA_HPP__
#define __INSTANCEDATA_HPP__
#include <string>
#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
struct InstanceData
{
/**
* ID of the object this instance
*/
int id;
/**
* Model name
*/
std::string model;
/**
* Instance position
*/
glm::vec3 pos;
/**
* Instance scaleX
*/
glm::vec3 scale;
/**
* Instance rotation
*/
glm::quat rot;
};
#endif