mrdoob/three.js — pull request #5396 by svenpilz (2014-10-02 13:39:02+00:00)
Title: Add property name translation for PLYLoader

The property names in PLY files are given as strings, some
implementations may use different names for common properties.
This commit adds a translation mechanism based on a map,
which is specified via the constructor.

Example with no translation:
loader = new THREE.PLYLoader();

Example with translation:
loader = new THREE.PLYLoader({
diffuse_red: 'red',
diffuse_green: 'green',
diffuse_blue: 'blue'
});