Skip to content

Refactoring - #16

Open
CarlosHSF99 wants to merge 4 commits into
mainfrom
cf/refactor-loading
Open

Refactoring#16
CarlosHSF99 wants to merge 4 commits into
mainfrom
cf/refactor-loading

Conversation

@CarlosHSF99

Copy link
Copy Markdown
Owner

The project is now cleaner and easier to understand.

The generator and the engine now each have their respective Model classes.
The generator Model represents a collection of Point3 and writes .3d files.
The engine Model represents a VBO buffer and reads .3d files.

The transformations were separated into multiple files, each for each transform, and all are under the transform namespace.

The parsing module was removed and the wall of code was distributed among the classes that represent the XML elements.

GLUT callbacks were moved inside the World class so that the project doesn't have global state. It still has a static variable in main...

@CarlosHSF99
CarlosHSF99 requested review from GresosJ, Pdf0 and dvianaa May 11, 2024 12:04
@CarlosHSF99 CarlosHSF99 self-assigned this May 11, 2024
@CarlosHSF99

Copy link
Copy Markdown
Owner Author

It also contains the XML loading optimizations from the previous PR that wasn't merged.

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.

1 participant