-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: janusweb action: commit revision: path_from: revision_from: 86cded8932a864f4391a32618e047f4e01ad626e: path_to: revision_to:
commit 86cded8932a864f4391a32618e047f4e01ad626e Author: James Baicoianu <james_github@baicoianu.com> Date: Wed Nov 21 02:59:13 2018 -0800 Added mesh_uvs support diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js +++ b/scripts/room.js @@ -1172,6 +1172,9 @@ elation.require([ if (args.mesh_normals) { geo.addAttribute( 'normal', new THREE.Float32BufferAttribute( args.mesh_normals, 3 ) ); } + if (args.mesh_uvs) { + geo.addAttribute( 'uv', new THREE.Float32BufferAttribute( args.mesh_uvs, 2 ) ); + } object = new THREE.Mesh(geo, new THREE.MeshPhongMaterial()); } assetlist.push({
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 16:24:14 2024