Skip to content

QOL Pass & doc improvements#30

Merged
Crauzer merged 12 commits intomainfrom
alan/feat/public-api
Apr 17, 2025
Merged

QOL Pass & doc improvements#30
Crauzer merged 12 commits intomainfrom
alan/feat/public-api

Conversation

@alanpq
Copy link
Copy Markdown
Contributor

@alanpq alanpq commented Feb 25, 2025

depends on changes from #28 (merge that first)

Breaking Public API changes:

  • IndexBuffer now has uses a generic for the format, instead of an enum (IndexBuffer<u16>, etc)
  • IndexBuffer::buffer & VertexBuffer::buffer renamed to as_bytes
  • renaming of vertex_buffer/index_buffer modules inside mem to vertex/index
    • mem module no longer re-exports vertex::*, only a few specific ones
  • AABB::new -> AABB::from_corners
  • AABB::from_vertex_iter -> AABB::of_points

New Features / QOL

  • IndexBuffer::read(reader: R, count: usize) -> Self
  • VertexBuffer::into_inner(self) -> Vec<u8>

@alanpq alanpq force-pushed the alan/feat/public-api branch 2 times, most recently from 46c7699 to c08e0de Compare February 25, 2025 01:18
@Crauzer
Copy link
Copy Markdown
Member

Crauzer commented Feb 26, 2025

Is this ready ?

@alanpq
Copy link
Copy Markdown
Contributor Author

alanpq commented Feb 28, 2025

Is this ready ?

I'd say not quite yet

@alanpq alanpq force-pushed the alan/feat/public-api branch from 4a0a7bc to f058055 Compare March 30, 2025 18:51
@alanpq alanpq force-pushed the alan/feat/public-api branch from f058055 to 0a71914 Compare March 30, 2025 18:53
@alanpq alanpq marked this pull request as ready for review March 30, 2025 21:32
@alanpq alanpq requested a review from Crauzer March 30, 2025 21:32
@Crauzer Crauzer merged commit 788ca89 into main Apr 17, 2025
1 check passed
@Crauzer Crauzer deleted the alan/feat/public-api branch April 17, 2025 06:06
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