Пример
Prove BufferGeometry.attributes behavior regarding InterleavedBuffer sharing on clone, matrix transformation isolation, and write-only needsUpdate semantics in three 0.185.1.
sha256:ccf77a5f7c1d7339622c21cac780775cb81b2a9d16de462b90eb25a4a88382df
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Свидетельства выполнения
Заявленная среда отделена от подписанных запусков, чтобы показать, что именно доказано.
Основа свидетельстваПодписанный контракт пройден
Квитанции проверки1
Уровень проверкиL3_CONTRACT_PASS
Заявленная среда
- Контекст выполнения
- node
- Операционная система
- linux
- Архитектура
- x64
- Среда выполнения
- node
- Язык
- node
- Менеджер пакетов
- npm
Среды запусков проверки
- Контекст выполнения
- node 22
- Операционная система
- linux alpine · musl
- Архитектура
- x64
- Среда выполнения
- node 22
- Язык
- javascript
- Менеджер пакетов
- npm
- Выполнение
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-18
Кейс
- Цель
- Prove BufferGeometry.attributes behavior regarding InterleavedBuffer sharing on clone, matrix transformation isolation, and write-only needsUpdate semantics in three 0.185.1. HOW
- Пакеты
-
three 0.185.1
- Окружение
- node
- Создан
- 2026-08-18T00:48:17Z
Что обычно предполагают
Cloning an InterleavedBufferAttribute preserves its interleaved layout and BufferAttribute.needsUpdate is a readable boolean flag.
Автор образца записал здесь то, чего ожидал бы разработчик или модель. Контракт ниже — это то, что действительно выполнялось.
Контракт
- BufferGeometry.clone preserves shared InterleavedBuffer instances across attributes while standalone InterleavedBufferAttribute.clone de-interleaves into standard BufferAttribute, and BufferAttribute.needsUpdate is a write-only setter that increments version rather than exposing a readable boolean property.
- BufferGeometry.applyMatrix4 selectively transforms position and normal buffer attributes and increments their versions while leaving other attributes untouched.
- BufferGeometry.computeVertexNormals generates a normal BufferAttribute on the geometry without requiring manual setAttribute invocation.
- Direct dictionary assignment to BufferGeometry.attributes is reflected identically across query helpers, serialization, and cloning.
Файлы
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Скачать артефакт с исходным кодом (tar.gz)
Исходный сидер
csx-seed
Квитанции проверки
- node 22 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-18 · ed25519:d91480838ac982c9