From 18067726b595dc8e6ff699c92469c1155d2056f4 Mon Sep 17 00:00:00 2001 From: omigamedev Date: Mon, 12 Nov 2018 18:19:03 +0100 Subject: [PATCH] add transform mode and tollbar button, implement polygon clipping with uvs interpolation and cube faces projection with near plane clipping, add duplicate points removal template function, implement Spere mesh surface section creation. --- data/layout.xml | 1 + src/app_layout.cpp | 8 ++ src/app_shaders.cpp | 1 - src/brush.h | 1 - src/canvas.cpp | 145 ++++++++++++++++++++++++++++-------- src/canvas.h | 13 ++-- src/canvas_modes.cpp | 134 ++++++++++++++++++++++++++++----- src/canvas_modes.h | 29 +++++++- src/shape.cpp | 33 ++++++--- src/shape.h | 17 ++++- src/util.cpp | 173 +++++++++++++++++++++++++++++++++++++++++-- src/util.h | 38 +++++++++- 12 files changed, 512 insertions(+), 81 deletions(-) diff --git a/data/layout.xml b/data/layout.xml index de4d0c5..8d91e62 100644 --- a/data/layout.xml +++ b/data/layout.xml @@ -1039,6 +1039,7 @@ Here's a list of what's available in this release.