fix: Transformation nodes must create new scope #20

Merged
glen merged 2 commits from apply_transform into main 2024-02-14 08:10:01 +00:00

2 Commits

Author SHA1 Message Date
b5b4065d6b doc: Prior changes mean all transformation nodes supported 2024-02-14 00:07:27 -08:00
b6c5c6d0a5 fix: Transformation nodes must create new scope
In VRML 1, transformations like translations and rotations
  accumulate within a scope as they are encountered, and one
  can even have multiple translations with shapes interleaved
  between them. This accumulation is not possible in VRML97.
  Therefore, it's necessary to insert new scopes in the translated
  file every time a new transformation is encountered. This
  commit makes sure that happens.
2024-02-14 00:00:09 -08:00