1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:37:34 +00:00

LibGfx: Add a generic Matrix variant

This commit is contained in:
AnotherTest 2020-07-24 19:24:36 +04:30 committed by Andreas Kling
parent 2d96437bbb
commit 9d349ac646
2 changed files with 106 additions and 1 deletions

View file

@ -26,13 +26,14 @@
#pragma once
#include <LibGfx/Matrix.h>
#include <LibGfx/Vector3.h>
#include <math.h>
namespace Gfx {
template<typename T>
class Matrix4x4 final {
class Matrix4x4 final : public Matrix<4, T> {
public:
Matrix4x4() = default;
Matrix4x4(T _11, T _12, T _13, T _14,