Updating the RenderBox library
With the Gallery360 project implemented and our code stabilized, you might realize that we've built some code that is not necessarily specific to this application that can be reused in other projects, and ought to make its way back to the RenderBox
library.
We did this at the end of the previous project in Chapter 6, Solar System. You can refer to that topic for details. Follow these steps to update the RenderBoxLib
project:
Move the
Plane
andTriangle
components fromRenderBoxExt/components
.Move the
BorderMaterial
component fromRenderBoxExt/materials
.Move the border shader files from
res/raw
.Refactor any invalid references to correct the package names.
Rebuild the library by clicking Build | Make Project.