make projective textures work in DIRECT+eglPlugin (see examples/pybullet/examples/projective_texture.py)

This commit is contained in:
erwincoumans committed 2018-10-05 19:24:44 -07:00
1 parent 111ffc784d
commit 2c13e70d1a
4 files changed
+44

No files matched your search

@@ -91,6 +91,9 @@ struct UrdfRenderingInterface
///register a texture using an in-memory pixel buffer of a given width and height
virtual int registerTexture(unsigned char* texels, int width, int height) = 0;
virtual void setProjectiveTextureMatrices(const float viewMatrix[16], const float projectionMatrix[16]) {}
virtual void setProjectiveTexture(bool useProjectiveTexture) {}
};
#endif //LINK_VISUAL_SHAPES_CONVERTER_H