From e1742922014848060dcb585e12292832d40c28b4 Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Sun, 7 Jul 2024 22:23:54 +0200 Subject: [PATCH] added basic constructor with corner initializer --- apps/main.cpp | 3 ++- include/Block/block.h | 21 +++++++++++++++++++++ src/block.cpp | 6 ++++-- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/apps/main.cpp b/apps/main.cpp index 8882efd..530de5c 100644 --- a/apps/main.cpp +++ b/apps/main.cpp @@ -3,9 +3,9 @@ int main(int argc, char **argv) { std::cout << "Hello, world!" << std::endl; - Volumes::Block block; Vector::Vector3 vec(1,2,3); Vector::Vector3 vec2(2,1,3); + Volumes::Block block(vec,1,1,1); std::cout<