Blame view

legacy/rts_glBrewer.h 815 Bytes
f1402849   dmayerich   renewed commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  #include "rtsPoint3d.h"

  

  void rts_glBrewerPts(point3D<float>* brewerPts)

  {

  	//define control points

  	brewerPts[0] = point3D<float>(0.192157f, 0.211765f, 0.584314f);

  	brewerPts[1] = point3D<float>(0.270588f, 0.458824f, 0.705882f);

  	brewerPts[2] = point3D<float>(0.454902f, 0.678431f, 0.819608f);

  	brewerPts[3] = point3D<float>(0.670588f, 0.85098f, 0.913725f);

  	brewerPts[4] = point3D<float>(0.878431f, 0.952941f, 0.972549f);

  	brewerPts[5] = point3D<float>(1.0f, 1.0f, 0.74902f);

  	brewerPts[6] = point3D<float>(0.996078f, 0.878431f, 0.564706f);

  	brewerPts[7] = point3D<float>(0.992157f, 0.682353f, 0.380392f);

  	brewerPts[8] = point3D<float>(0.956863f, 0.427451f, 0.262745f);

  	brewerPts[9] = point3D<float>(0.843137f, 0.188235f, 0.152941f);

  	brewerPts[10] = point3D<float>(0.647059f, 0.0f, 0.14902f);

  }