Skip to content

XForm "mat" versus "matrix" properties should be renamed #494

@tsherif

Description

@tsherif
Description of the problem

Xform nodes contain both mat and matrix properties. The difference is that mat contains the multiplied hierarchical transforms, whereas matrix contains the local transform of the node. This is unclear from the names (and led to this bug), so I'd suggest using more expressive names. Maybe localMatrix and globalMatrix?
...

SceneJS version
  • Dev
  • Master
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • Linux
  • Android
  • IOS
Hardware Requirements

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions