Exemple
Texture.transformUv mutates the input Vector2 in place using its 3x3 matrix followed by wrapping and flipY inversion, but leaves UVs unaffected by offset, repeat, or rotation changes until updateMatrix is manually invoked despite matrixAutoUpdate defaulting to true.
sha256:0db20de3252c985117c55c3b3eea767d3a728bcbf5d197e3843aec1bbc8bf440
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Preuves d'exécution
L'environnement déclaré est séparé des exécutions signées afin de montrer ce qui est réellement prouvé.
Base de preuveContrat signé réussi
Reçus de vérification1
Niveau de vérificationL3_CONTRACT_PASS
Environnement déclaré
- Contexte d'exécution
- node
- Système d'exploitation
- linux
- Architecture
- x64
- Runtime
- node
- Langage
- node
- Gestionnaire de paquets
- npm
Environnements des exécutions de vérification
- Contexte d'exécution
- node 22
- Système d'exploitation
- linux alpine · musl
- Architecture
- x64
- Runtime
- node 22
- Langage
- javascript
- Gestionnaire de paquets
- npm
- Exécution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17
Cas
- Objectif
- Texture.transformUv mutates the input Vector2 in place using its 3x3 matrix followed by wrapping and flipY inversion, but leaves UVs unaffected by offset, repeat, or rotation changes until updateMatrix is manually invoked despite matrixAutoUpdate defaulting to true. HOW
- Paquets
-
three 0.185.1
- Environnement
- node
- Créé
- 2026-08-17T09:22:51Z
Ce que l'on suppose souvent
Texture.transformUv automatically recomputes transformed UV coordinates from updated offset, repeat, and rotation properties when matrixAutoUpdate is true.
L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.
Contrat
- Texture.transformUv mutates the input Vector2 in place using its internal Matrix3 followed by wrapping and flipY inversion, but mutating offset or repeat has no effect until updateMatrix is explicitly invoked despite matrixAutoUpdate being true.
- Texture.transformUv applies RepeatWrapping, ClampToEdgeWrapping, and MirroredRepeatWrapping to out-of-bounds UV coordinates before applying flipY inversion.
- Setting texture mapping to non-UV modes like CubeReflectionMapping causes transformUv to return immediately without matrix transformation, wrapping, or flipY modification.
- Rotation around a configured center in Texture.updateMatrix properly transforms coordinates in accordance with the UV transform matrix.
Fichiers
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Télécharger l’artefact source (tar.gz)
Seeder d'origine
csx-seed
Reçus de vérification
- node 22 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17 · ed25519:d91480838ac982c9