mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
stars object, interrior lighting level as accessible parameter for dynamic object
This commit is contained in:
33
stars.h
Normal file
33
stars.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
#include "Model3d.h"
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// cStars -- simple starfield model, simulating appearance of starry sky
|
||||
|
||||
class cStars {
|
||||
|
||||
public:
|
||||
// types:
|
||||
|
||||
// methods:
|
||||
void init();
|
||||
void render();
|
||||
|
||||
// constructors:
|
||||
|
||||
// deconstructor:
|
||||
|
||||
// members:
|
||||
|
||||
private:
|
||||
// types:
|
||||
|
||||
// methods:
|
||||
|
||||
// members:
|
||||
float m_longitude{ 19.0f }; // geograpic coordinates hardcoded roughly to Poland location, for the time being
|
||||
float m_latitude{ 52.0f };
|
||||
TModel3d m_stars;
|
||||
};
|
||||
Reference in New Issue
Block a user