-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix bedrock entities format rendering (like arrow) #278
base: next
Are you sure you want to change the base?
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Enhancement, Tests
Description
Added support for per-face UV mapping in Bedrock entities.
Introduced validation for entity data using Zod schemas.
Improved error handling for missing or invalid UV coordinates.
Added a new test file for validating entity schemas.
Changes walkthrough 📝
EntityMesh.ts
Add per-face UV mapping and error handling
renderer/viewer/lib/entity/EntityMesh.ts
CubeFaces
.getFaceUV
function to handle UV retrieval.testEntities.ts
Add Zod-based entity schema validation
renderer/viewer/lib/entity/testEntities.ts
entities.json
against defined schemas.