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

41 lines
602 B
C++
Executable File

//
// 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