Files
core_math/tjp/core/math/Math.h
Timothy Prepscius 0807c0286a flatten 20260225
2026-02-25 12:36:47 -05:00

90 lines
1.5 KiB
C++
Executable File

//
// Math.hpp
// amoeba
//
// Created by Timothy Prepscius on 12/30/16.
// Copyright © 2016 Timothy Prepscius. All rights reserved.
//
#pragma once
#include "Real.h"
#
namespace tjp {
namespace core {
namespace math {
template<typename Real>
struct constants;
template<typename Real>
struct Ray3;
template<typename Real>
struct Segment3;
template<typename Real>
struct Line3;
template<typename Real>
class Plane3;
template<typename Real>
class Cone3;
template<typename Real>
class Frustum3;
template<typename Real>
struct Box3;
template<typename Real>
struct Segment2;
template<typename Real>
class Circle2;
template<typename Real>
class Circle3;
template<typename Real>
class Triangle3;
typedef Ray3<double> Ray3d;
typedef Ray3<float> Ray3f;
typedef Ray3<Real> Ray3r;
typedef Segment2<double> Segment2d;
typedef Segment2<float> Segment2f;
typedef Segment2<Real> Segment2r;
typedef Circle2<double> Circle2d;
typedef Circle2<float> Circle2f;
typedef Circle2<Real> Circle2r;
typedef Line3<double> Line3d;
typedef Line3<float> Line3f;
typedef Line3<Real> Line3r;
typedef Plane3<float> Plane3f;
typedef Plane3<double> Plane3d;
typedef Plane3<Real> Plane3r;
typedef Triangle3<float> Triangle3f;
typedef Triangle3<double> Triangle3d;
typedef Triangle3<Real> Triangle3r;
typedef Cone3<float> Cone3f;
typedef Cone3<double> Cone3d;
typedef Cone3<Real> Cone3r;
typedef Frustum3<double> Frustum3d;
typedef Frustum3<float> Frustum3f;
typedef Frustum3<Real> Frustum3r;
} // namespace
} // namespace
} // namespace