| 3 | |
| 4 | namespace ZEngine::Rendering::Geometries { |
| 5 | SquareGeometry::SquareGeometry(const Maths::Vector3& position, const Maths::Vector3& scale, const Maths::Vector3& rotation_axis, float rotation_angle) |
| 6 | : IGeometry(position, scale, rotation_axis, rotation_angle, |
| 7 | {Renderers::Storages::GraphicVertex({-0.5f, -0.5f, 1.0f}, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f}), |
| 8 | Renderers::Storages::GraphicVertex({0.5f, -0.5f, 1.0f}, {0.0f, 0.0f, 0.0f}, {1.0f, 0.0f}), |
| 9 | Renderers::Storages::GraphicVertex({0.0f, 0.5f, 1.0f}, {0.0f, 0.0f, 0.0f}, {0.0f, 1.0f}), |
| 10 | Renderers::Storages::GraphicVertex({0.5f, -0.5f, 1.0f}, {0.0f, 0.0f, 0.0f}, {1.0f, 0.0f})}) {} |
| 11 | } // namespace ZEngine::Rendering::Geometries |
nothing calls this directly
no test coverage detected