-
-
Notifications
You must be signed in to change notification settings - Fork 81
dtl::cuboid::MazeDig3D (立体クラス)
Kasugaccho edited this page Aug 17, 2019
·
4 revisions
namespace dtl::cuboid {
template <typename T>
class MazeDig3D;
}
※ T
は1bit以上の型
#include <DTL.hpp>
#include <array>
#include <bitset>
int main() {
std::array<std::array<std::bitset<32>, 32>, 32> matrix{ {} };
dtl::MazeDig3D<bool>(1, 0).draw(matrix);
dtl::storage::FileSandboxOBJ_3D<bool>("sandbox_3d.obj").draw(matrix);
}
Copyright (c) 2018-2021 As Project.
Distributed under the Boost Software License, Version 1.0.(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)