chromium/third_party/angle/src/common/matrix_utils.cpp

//
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

// matrix_utils.cpp: Contains implementations for Mat4 methods.

#include "common/matrix_utils.h"

namespace angle
{

Mat4::Mat4() :{}

Mat4::Mat4(const Matrix<float> generalMatrix)
{}

Mat4::Mat4(const std::vector<float> &elements)
{}

Mat4::Mat4(const float *elements)
{}

Mat4::Mat4(float m00,
           float m01,
           float m02,
           float m03,
           float m10,
           float m11,
           float m12,
           float m13,
           float m20,
           float m21,
           float m22,
           float m23,
           float m30,
           float m31,
           float m32,
           float m33)
{}

// static
Mat4 Mat4::Rotate(float angle, const Vector3 &axis)
{}

// static
Mat4 Mat4::Translate(const Vector3 &t)
{}

// static
Mat4 Mat4::Scale(const Vector3 &s)
{}

// static
Mat4 Mat4::Frustum(float l, float r, float b, float t, float n, float f)
{}

// static
Mat4 Mat4::Perspective(float fov, float aspectRatio, float n, float f)
{}

// static
Mat4 Mat4::Ortho(float l, float r, float b, float t, float n, float f)
{}

Mat4 Mat4::product(const Mat4 &m)
{}

Vector4 Mat4::product(const Vector4 &b)
{}

void Mat4::dump()
{}

}  // namespace angle