Skip to content

Conversation

@ASchuberth
Copy link
Owner

Project restructuring, fixed sketch grid, and cleaned Test CMakeLists

ASchuberth and others added 30 commits April 18, 2025 15:53
- Turned off CXX Extensions
- Added compiler flags -Wall and -Wextra
- Formatting
- restructured textrender and grid
- sketch and text are now separate libraries
- Created vector of Vertex in CADRender for the grid line and used it for the vertex buffer
- Test executives now link to just the sketch and text libraries.
- Use pch_interface in the test executables
- Added test_text.cpp for the text lib
- Need to add back in camera tests
- got rid of installing windows sdk from build Action
- Added Actions and ActionQueue to project
- Removed constants for Buffer ids and changed them to enum class BufferName
- Ran clang-tidy on all the cpp files
- Changed default background color to white
- Can now change background color and selection point color during runtime

TODO:
- Need to create settings file for saving and loading user preferences
- Removed Actions and ActionQueue
-- Removed any references of Action and ActionQueue
- Added Command, SketchAddPointCommand, and Mouse classes
- mouse callbacks now call to Mouse::leftMouseClick() when adding points
- cleaned up .gitignore
- removed unnecessary pch.hpp's in subdirectories
- renamed font texture and coordinate files to more appropriate "arial.png" and "arial.csv"
- added config.hpp.in for configuring local file paths to shaders and text textures/coordinates
- Changed top-level CMakeLists to configure "config.hpp" and removed code that copied the shader/text files to the build directory
- Removed capital letters in cpp file names
- Added cammeracommands.hpp
-- Added CameraZoomCommand
-- Added additional overide to Command Command::execute(double)
- Scroll callback now executes mouse scroll command
- Removed unneeded function updateSelectionPoints() in Cadera
- Removed sketch_add_point() and sketch_move_point() in callbacks
- Fixed narrowing conversion warning in selection, normalizeToVulkanCoords()
- CADRender:::setBGColor() now correctly sets the value in mRenderColors
- TextRender::generateQuads() now takes in the CADRender background color to ensure text background matches
- Removed RenderUtil.hpp and added contents to cadrender.hpp
- Removed bgColor from CADRender
- Removed backgroundColor from Text struct
- Grid Menu now prevents too large of input from user
- Added Mouse::scroll()
- Initialize SketchAddPointCommand::mCamera to nullptr
- Removed unneccesary pch.hpp from test/
- Removed targeting glm for textlib CMakeLists as glm is already in pch_interface
@ASchuberth ASchuberth merged commit f4f0e77 into develop May 12, 2025
4 of 6 checks passed
@ASchuberth ASchuberth deleted the testing branch May 12, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants