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

Add operator overloading to the CSM script #34

Open
rehno-lindeque opened this issue Dec 8, 2011 · 0 comments
Open

Add operator overloading to the CSM script #34

rehno-lindeque opened this issue Dec 8, 2011 · 0 comments

Comments

@rehno-lindeque
Copy link
Contributor

Operator overloading is needed for using/manipulating parameters (see also issue #24)...

For example one might have

var a = range([0,0,0], [10,15,0.8]);
var b = range(2, 4);

box({dimensions: b * a})

where b * a is actually a relatively complicated operation that will probably be translated to some overloaded operator such as mul(b,a).

Nevermind this, one might even want operations like sqrt(b) and cross(a,r)...

@ghost ghost assigned rehno-lindeque Dec 8, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant