Skip to content

Commit 4b10db7

Browse files
committed
[hdEmbree] minor fixes in hdEmbree/mesh.h
- forward-declare some types as struct instead of class (avoids msvc compiler warning) - comment typo fix
1 parent 0083231 commit 4b10db7

File tree

1 file changed

+3
-3
lines changed
  • pxr/imaging/plugin/hdEmbree

1 file changed

+3
-3
lines changed

pxr/imaging/plugin/hdEmbree/mesh.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
PXR_NAMESPACE_OPEN_SCOPE
2222

23-
class HdEmbreePrototypeContext;
24-
class HdEmbreeInstanceContext;
23+
struct HdEmbreePrototypeContext;
24+
struct HdEmbreeInstanceContext;
2525

2626
/// \class HdEmbreeMesh
2727
///
@@ -171,7 +171,7 @@ class HdEmbreeMesh final : public HdMesh {
171171

172172
private:
173173
// Every HdEmbreeMesh is treated as instanced; if there's no instancer,
174-
// the prototype has a single identity istance. The prototype is stored
174+
// the prototype has a single identity instance. The prototype is stored
175175
// as _rtcMeshId, in _rtcMeshScene.
176176
unsigned _rtcMeshId;
177177
RTCScene _rtcMeshScene;

0 commit comments

Comments
 (0)