]> git.mxchange.org Git - simgear.git/blobdiff - simgear/bvh/BVHNearestPointVisitor.hxx
bvh: Introduce BVHMaterial independent of SGMaterial.
[simgear.git] / simgear / bvh / BVHNearestPointVisitor.hxx
index 1c07c66acb8fd99352383181ba24216d8c158a51..5b5e1975291b05cc5959dd578eefc417665b5ecf 100644 (file)
@@ -140,7 +140,7 @@ public:
     { return _linearVelocity; }
     const SGVec3d& getAngularVelocity() const
     { return _angularVelocity; }
-    const SGMaterial* getMaterial() const
+    const BVHMaterial* getMaterial() const
     { return _material; }
     BVHNode::Id getId() const
     { return _id; }
@@ -155,7 +155,7 @@ private:
     SGVec3d _point;
     SGVec3d _linearVelocity;
     SGVec3d _angularVelocity;
-    const SGMaterial* _material;
+    const BVHMaterial* _material;
     BVHNode::Id _id;
 
     bool _havePoint;