rgl is a 3D visualization system based on OpenGL. It provides a medium to high level interface for use in R, currently modelled on classic R graphics, with extensions to allow for interaction.
I looked over the writePLY branch (thanks for looking into this!), and there were some issues with the little and big endian formats when withColors was set to FALSE (ascii was working fine). I modified the function to explicitly check for withColors to fix this. I tested locally, and writePLY builds and runs without issues and passes devtools::check(). I tested all export formats and normals/color combinations and it works as expected. Besides these changes, I made the header new lines and withColors explicit explicit to help me debug the function, but the code style is unchanged.
Fixes #425
I looked over the writePLY branch (thanks for looking into this!), and there were some issues with the little and big endian formats when
withColors
was set to FALSE (ascii was working fine). I modified the function to explicitly check forwithColors
to fix this. I tested locally, andwritePLY
builds and runs without issues and passesdevtools::check()
. I tested all export formats and normals/color combinations and it works as expected. Besides these changes, I made the header new lines andwithColors
explicit explicit to help me debug the function, but the code style is unchanged.