[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.7.2 Surf3C sample
Function surf3c is similar to surf3 but its coloring is determined by another data. The sample code is:
int sample(mglGraph *gr) { mglData c,d; mgls_prepare3d(&c,&d); gr->Title("Surf3C plot"); gr->Rotate(50,60); gr->Light(true); gr->Alpha(true); gr->Box(); gr->Surf3C(c,d); return 0; }
This document was generated on March 21, 2014 using texi2html 5.0.