engine
engine copied to clipboard
Fix Math.asin error
Please check if the PR fulfills these requirements
- [ ] The commit message follows our guidelines
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
最小案例:
class XXs extends Script {
onUpdate() {
this.entity.transform.rotate(new Vector3(1,0,0));
console.log(this.entity.transform.rotation.x+" "+this.entity.transform.rotation.y+" "+this.entity.transform.rotation.z);
}
}
https://github.com/galacean/engine/pull/1851