16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 06:39:18 +02:00

field of view setting, t3d loader fix

This commit is contained in:
tmj-fstate
2017-02-20 16:17:04 +01:00
parent 6c35276427
commit 1ea207b60f
4 changed files with 14 additions and 1 deletions

View File

@@ -219,6 +219,9 @@ template <typename ColorT> inline void readColor(cParser &parser, ColorT *color)
double discard;
parser.getTokens(4, false);
parser >> discard >> color[0] >> color[1] >> color[2];
color[ 0 ] /= 255.0;
color[ 1 ] /= 255.0;
color[ 2 ] /= 255.0;
};
inline void readColor(cParser &parser, int &color)