16 lines
No EOL
408 B
C++
16 lines
No EOL
408 B
C++
#pragma once
|
|
|
|
#include <chrono>
|
|
#include <vector>
|
|
#include <fstream>
|
|
|
|
#include "Buffer2D.hpp"
|
|
#include "Color.hpp"
|
|
|
|
using TimePoint = std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>;
|
|
using TimeMs = long;
|
|
|
|
TimeMs timeDeltaMs(const TimePoint& point);
|
|
std::vector<char> readFile(const std::string &fileName);
|
|
|
|
void writeImage(const tp::Buffer2D<tp::RGBA>& output, const char* name); |