Browse Source

math: clean up the Real class.

wip/core-clipp
Sam Hocevar 4 years ago
parent
commit
80dafa8edf
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      include/lol/math/real.h

legacy/lol/math/real.h → include/lol/math/real.h View File

@@ -1,7 +1,7 @@
//
// Lol Engine
//
// Copyright © 2010—2019 Sam Hocevar <sam@hocevar.net>
// Copyright © 2010—2020 Sam Hocevar <sam@hocevar.net>
//
// Lol Engine is free software. It comes without any warranty, to
// the extent permitted by applicable law. You can redistribute it
@@ -17,8 +17,6 @@
// --------------
//

#include <lol/base/types.h>

#include <vector>
#include <string>
#include <cstdint>
@@ -30,6 +28,9 @@ namespace lol
#undef min
#undef max

template<typename T> class Real;
typedef Real<uint32_t> real;

/*
* The base class for reals. The only real reason for making this a template
* class is so we can have implicit constructors ("real x = 1" works) but

Loading…
Cancel
Save