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

35 lines
526 B
C++
Executable File

//
// Math.hpp
// amoeba
//
// Created by Timothy Prepscius on 12/30/16.
// Copyright © 2016 Timothy Prepscius. All rights reserved.
//
#include "Vector2.hpp"
#include <tjp/core/containers/Vector.h>
#pragma once
namespace tjp {
namespace core {
namespace math {
struct SimpleLineCompute
{
core::Vector<math::Vector2f> p;
core::Vector<float> s;
bool cap;
SimpleLineCompute(
std::initializer_list<math::Vector2f> l,
bool cap
);
float operator ()(float x);
} ;
} // namespace
} // namespace
} // namespace