File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,18 @@ ShapePtr PlatonicShape::Clone () const
277277
278278std::wstring PlatonicShape::ToString () const
279279{
280+ switch (type) {
281+ case PlatonicSolidType::Tetrahedron:
282+ return L" Tetrahedron" ;
283+ case PlatonicSolidType::Octahedron:
284+ return L" Octahedron" ;
285+ case PlatonicSolidType::Hexahedron:
286+ return L" Hexahedron" ;
287+ case PlatonicSolidType::Dodecahedron:
288+ return L" Dodecahedron" ;
289+ case PlatonicSolidType::Icosahedron:
290+ return L" Icosahedron" ;
291+ }
280292 return L" Platonic" ;
281293}
282294
Original file line number Diff line number Diff line change @@ -184,9 +184,8 @@ NE::ValuePtr TransformationValue::Clone () const
184184
185185std::wstring TransformationValue::ToString (const NE::StringSettings&) const
186186{
187- // TODO
188187 std::wstring result;
189- result += L" transformation " ;
188+ result += L" Transformation " ;
190189 return result;
191190}
192191
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ std::wstring MaterialValue::ToString (const NE::StringSettings&) const
3030{
3131 std::wstring result;
3232 const glm::dvec3& color = val.GetColor ();
33- result += L" rgb (" ;
33+ result += L" Material (" ;
3434 result += std::to_wstring (int (color.x * 255 .0f )) + L" , " ;
3535 result += std::to_wstring (int (color.y * 255 .0f )) + L" , " ;
3636 result += std::to_wstring (int (color.z * 255 .0f ));
You can’t perform that action at this time.
0 commit comments