Difference between revisions of "Math"
Line 44: | Line 44: | ||
[[Special:MyLanguage/math.raycast|math.raycast]] ''<translate>returns intersections between a ray and a set of shapes</translate>''<br/><!-- GIDEROSMTD:math.raycast(origin,direction,shape) returns intersections between a ray and a set of shapes --> | [[Special:MyLanguage/math.raycast|math.raycast]] ''<translate>returns intersections between a ray and a set of shapes</translate>''<br/><!-- GIDEROSMTD:math.raycast(origin,direction,shape) returns intersections between a ray and a set of shapes --> | ||
[[Special:MyLanguage/math.inside|math.inside]] ''<translate>returns wether a point is inside a shape</translate>''<br/><!-- GIDEROSMTD:math.inside(point,shape) returns wether a point is inside a shape --> | [[Special:MyLanguage/math.inside|math.inside]] ''<translate>returns wether a point is inside a shape</translate>''<br/><!-- GIDEROSMTD:math.inside(point,shape) returns wether a point is inside a shape --> | ||
− | [[Special:MyLanguage/math.edge|math.edge]] ''<translate>returns the nearest point on the | + | [[Special:MyLanguage/math.edge|math.edge]] ''<translate>returns the nearest point on the edge of a shape</translate>''<br/><!-- GIDEROSMTD:math.edge(point,shape) returns the nearest point on the edge of a shape --> |
+ | |||
=== <translate>Events</translate> === | === <translate>Events</translate> === | ||
=== <translate>Constants</translate> === | === <translate>Constants</translate> === |
Revision as of 09:56, 26 August 2020
Supported platforms:
Available since: Gideros 2011.6
Description
math table holds most commonly used math functions and constants
Methodsmath.abs returns absolute value of v |
Gideros specific methodsmath.length returns the length of a vector EventsConstants |