MCPcopy Create free account
hub / github.com/achrefelouafi/GrassSystemThreeJS / applyTextureScale

Function applyTextureScale

src/main.js:699–703  ·  view source on GitHub ↗
(scale)

Source from the content-addressed store, hash-verified

697};
698
699function applyTextureScale(scale) {
700 for (const map of allMaps) {
701 map.repeat.set(scale, scale);
702 }
703}
704
705// Initial build — textures and tiling.
706loadTextures();

Callers 1

loadTexturesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected