Skip to content

Primitive types#52

Open
DomCR wants to merge 2 commits into
masterfrom
primitive-types
Open

Primitive types#52
DomCR wants to merge 2 commits into
masterfrom
primitive-types

Conversation

@DomCR
Copy link
Copy Markdown
Owner

@DomCR DomCR commented May 16, 2026

Description

Short description about this PR

Tasks done in this PR

  • Something awesome.
  • An evil bug have been defeated.
  • Code cleanup and maintenance has been done.

Related Issues / Pull Requests

  • Add the links of issues or PR related to this one.

Notes for reviewer

  • Things to consider during the review of this PR.

DomCR added 2 commits May 16, 2026 22:27
Updated `Camera` with `FarPlane` and `OrthographicZoom` properties. Refactored `Light` to include an empty body. Improved `Box` class with better `ToMesh` logic. Enhanced `Primitive` with a summary, reordered properties, and added a protected constructor.

Introduced `Plane` class with `ToMesh` implementation and properties for planar geometry. Added `Sphere` class with `Center` and `Radius` properties and a placeholder `ToMesh` method.

Improved maintainability and extended geometric capabilities.
Added constructors for the `Sphere` class, including a parameterless
constructor and one accepting a `name`. Implemented the `ToMesh`
method to generate vertices, normals, UVs, and polygons for a sphere
mesh, handling top and bottom poles. Removed the `NotImplementedException`
from the `ToMesh` method.
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