Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offsets out of bounds for Quaternion addition #167

Open
kungfooman opened this issue Mar 28, 2024 · 0 comments
Open

Offsets out of bounds for Quaternion addition #167

kungfooman opened this issue Mar 28, 2024 · 0 comments

Comments

@kungfooman
Copy link
Sponsor Contributor

It used to work 🤔

Example: https://enki.ws/ganja.js/examples/coffeeshop.html#2wIItuyb3

Algebra(0, 3, 0, () => {
  const options = {
    gl: true,
    grid: true,
  };
  const i = 1e1;
  const j = 1e2;
  const a = 2 * i * 3 * i;
  const b = 4 * j * 5 * j;
  //const c = 2 * i + 4 * j; // Uncomment for crash
  //const d = 3 * i + 5 * j; // Uncomment for crash
  const toGraph = [
    a, 'a',
    b, 'b',
    a * b, 'a * b',
    c, 'c',
    //d, 'd',
    //c * d, 'c * d',
  ];
  const dom = this.graph(toGraph, options);
  document.body.append(dom);
  //return dom;
});

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant