mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
GL: fix and clean up some code
This commit is contained in:
parent
36edc3f161
commit
1fb7202028
17 changed files with 54 additions and 177 deletions
|
@ -170,12 +170,6 @@ public:
|
|||
//! Get a skinned mesh, which is not available as header-only code
|
||||
ISkinnedMesh *createSkinnedMesh() override;
|
||||
|
||||
//! Sets ambient color of the scene
|
||||
void setAmbientLight(const video::SColorf &ambientColor) override;
|
||||
|
||||
//! Returns ambient color of the scene
|
||||
const video::SColorf &getAmbientLight() const override;
|
||||
|
||||
//! Get current render time.
|
||||
E_SCENE_NODE_RENDER_PASS getCurrentRenderPass() const override { return CurrentRenderPass; }
|
||||
|
||||
|
@ -291,9 +285,6 @@ private:
|
|||
ICameraSceneNode *ActiveCamera;
|
||||
core::vector3df camWorldPos; // Position of camera for transparent nodes.
|
||||
|
||||
video::SColor ShadowColor;
|
||||
video::SColorf AmbientLight;
|
||||
|
||||
//! String parameters
|
||||
// NOTE: Attributes are slow and should only be used for debug-info and not in release
|
||||
io::CAttributes *Parameters;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue