chromium/third_party/blink/renderer/modules/xr/xr_rigid_transform.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/modules/xr/xr_rigid_transform.h"

#include <cmath>
#include <utility>

#include "base/not_fatal_until.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_dom_point_init.h"
#include "third_party/blink/renderer/core/geometry/dom_point_read_only.h"
#include "third_party/blink/renderer/modules/xr/xr_utils.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "ui/gfx/geometry/decomposed_transform.h"
#include "ui/gfx/geometry/transform.h"

namespace blink {

namespace {

bool IsComponentValid(DOMPointInit* point) {}
}  // anonymous namespace

// makes a deep copy of transformationMatrix
XRRigidTransform::XRRigidTransform(const gfx::Transform& transformationMatrix)
    :{}

void XRRigidTransform::DecomposeMatrix() {}

XRRigidTransform::XRRigidTransform(DOMPointInit* position,
                                   DOMPointInit* orientation) {}

XRRigidTransform* XRRigidTransform::Create(DOMPointInit* position,
                                           DOMPointInit* orientation,
                                           ExceptionState& exception_state) {}

DOMFloat32Array* XRRigidTransform::matrix() {}

XRRigidTransform* XRRigidTransform::inverse() {}

gfx::Transform XRRigidTransform::InverseTransformMatrix() {}

gfx::Transform XRRigidTransform::TransformMatrix() {}

void XRRigidTransform::EnsureMatrix() {}

void XRRigidTransform::EnsureInverse() {}

void XRRigidTransform::Trace(Visitor* visitor) const {}

}  // namespace blink