Files
dl_old/dltest/main.cpp
T
2023-06-23 22:59:48 +08:00

29 lines
406 B
C++

#include "dl_type.h"
#include "dl_range.h"
#include "dl_io.h"
#include "dl_string.h"
#include "dl_system.h"
using namespace dl;
int main()
{
InitEngine();
log("hello dl!");
log("中文");
constexpr Point a{100, 100};
constexpr Point b{200, 200};
constexpr Point c = a + b;
constexpr Point d = Every::Clamp(c, 120, 150);
log(to_string(d));
g_system->Start();
ReleaseEngine();
return 0;
}