Program Listing for File transformComponent.h
↰ Return to documentation for file (PrismEngine/src/transformComponent.h)
#pragma once
namespace prism {
namespace scene {
struct Position {
float x = 0;
float y = 0;
float z = 0;
};
struct Rotation {
float x = 0;
float y = 0;
float z = 0;
};
struct Scale {
float x = 1;
float y = 1;
float z = 1;
};
struct TransformComponent
{
Position pos;
Rotation rot;
Scale scale;
};
}
}