vanattab / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

BoundingSphereConverter deserialisation bug #910

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Converting from a bounding sphere to a string using the BOundingSphereConverter 
makes a string in the form
"x, y, z, r"
i.e. 4 components, a vector3 + a radius.

The ConvertFrom string however throws an exception if there are not 2 elements 
after splitting on comma (culture specific).

I think it should be changed to a 4, not a 2! 

I found this by browsing the latest version of 
design/BoundingSphereConverter.cpp

Tom

Original issue reported on code.google.com by schlott1...@gmail.com on 8 May 2015 at 11:40