Skip to content

Add missing forward declaration to rtcore_scene.h#555

Open
dbs4261 wants to merge 4 commits intoRenderKit:masterfrom
dbs4261:patch-3
Open

Add missing forward declaration to rtcore_scene.h#555
dbs4261 wants to merge 4 commits intoRenderKit:masterfrom
dbs4261:patch-3

Conversation

@dbs4261
Copy link
Copy Markdown
Contributor

@dbs4261 dbs4261 commented Jul 30, 2025

Add missing forward declaration for RTCGeometry in rtcore_scene.h

Add missing forward declaration for RTCGeometry in rtcore_scene.h
@dbs4261 dbs4261 changed the title Update rtcore_scene.h Add missing forward declaration to rtcore_scene.h Oct 11, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds an RTCGeometry forward declaration to rtcore_scene.h so the scene API can reference RTCGeometry (e.g., rtcAttachGeometry, rtcGetGeometry) without requiring consumers to include rtcore_geometry.h first.

Changes:

  • Add typedef struct RTCGeometryTy* RTCGeometry; to include/embree4/rtcore_scene.h.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants