Exploring raycasters and possibly make a little "doom like" game based on it.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "stats.hpp"
|
|
#include <fmt/core.h>
|
|
#include "dbc.hpp"
|
|
|
|
void Stats::dump(std::string msg)
|
|
{
|
|
dbc::log(fmt::format("{}: sum: {}, sumsq: {}, n: {}, "
|
|
"min: {}, max: {}, mean: {}, stddev: {}",
|
|
msg, sum, sumsq, n, min, max, mean(),
|
|
stddev()));
|
|
}
|
|
|