flatten 20260225
This commit is contained in:
40
tjp/core/math/Segment1.hpp
Executable file
40
tjp/core/math/Segment1.hpp
Executable file
@@ -0,0 +1,40 @@
|
||||
//
|
||||
// Math.hpp
|
||||
// amoeba
|
||||
//
|
||||
// Created by Timothy Prepscius on 12/30/16.
|
||||
// Copyright © 2016 Timothy Prepscius. All rights reserved.
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Segment1.h"
|
||||
|
||||
#include "Vector3.hpp"
|
||||
#include "Vector2.hpp"
|
||||
#include <cstddef>
|
||||
#include <array>
|
||||
|
||||
#include "Zero.h"
|
||||
|
||||
namespace tjp {
|
||||
namespace core {
|
||||
namespace math {
|
||||
|
||||
template<typename Real>
|
||||
struct Segment1
|
||||
{
|
||||
typedef Real value_type;
|
||||
|
||||
Real begin, end;
|
||||
|
||||
static const Segment1 Zero;
|
||||
} ;
|
||||
|
||||
template<typename Real>
|
||||
const Segment1<Real> Segment1<Real>::Zero = { zero<Real>(), zero<Real>() };
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user