Demonstrates usage of class TEveTriangleSet.
void triangleset()
{
{
}
{
ts2->SetName("SmallBlue");
ts2->GenerateTriangleNormals();
ts2->SetMainColor(4);
ts2->SetTransMatrix(m);
}
{
ts3->SetName("Spectrum");
ts3->GenerateTriangleNormals();
ts3->GenerateZNormalColors(50, -50, 50,
kTRUE,
kTRUE);
ts3->SetMainColor(0);
ts3->SetTransMatrix(m);
}
}
- Author
- Matevz Tadel
Definition in file triangleset.C.