mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
LibGfx: Add a generic Matrix variant
This commit is contained in:
parent
2d96437bbb
commit
9d349ac646
2 changed files with 106 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue