SGScript API
Objects:
Functions:
- vec2 - create a vec2 object
- vec2_dot - return dot product of two 2D vectors
- vec3 - create a vec3 object
- vec3_dot - return dot product of two 3D vectors
- vec3_cross - return cross product of two 3D vectors
- vec4 - create a vec4 object
- vec4_dot - return dot product of two 4D vectors
- aabb2 - create a 2D AABB from 4 real values
- aabb2v - create a 2D AABB from 2 2D vectors
- aabb2_intersect - intersect two 2D AABB values
- aabb3 - create a 3D AABB from 6 real values
- aabb3v - create a 3D AABB from 2 3D vectors
- aabb3_intersect - intersect two 3D AABB values
- color
- mat4
- floatarray - create floatarray from array/list of int/real values
- floatarray_buffer - create 0-initialized floatarray
- vec2array - create floatarray from array/list of int/real/vec2 values
- vec3array - create floatarray from array/list of int/real/vec3 values
- vec4array - create floatarray from array/list of int/real/vec4 values
- floatarray_from_*_buffer - create floatarray from byte buffer
In this section:
- vec2 [object]
- vec2.rotate [method]
- vec2 [function]
- vec2_dot [function]
- vec3 [object]
- vec3 [function]
- vec3_dot [function]
- vec3_cross [function]
- vec4 [object]
- vec4 [function]
- vec4_dot [function]
- aabb2 [object]
- aabb2.expand( ... ) [function]
- aabb2 [function]
- aabb2v [function]
- aabb2_intersect [function]
- aabb3 [object]
- aabb3.expand( ... ) [function]
- aabb3 [function]
- aabb3v [function]
- aabb3_intersect [function]
- color [object]
- color [function]
- quat [object]
- quat.identity [method]
- quat.multiply [method]
- quat.multiply_left [method]
- quat.multiply2 [method]
- quat.invert [method]
- quat.invert_from [method]
- quat.rotateX [method]
- quat.rotateY [method]
- quat.rotateZ [method]
- quat.rotate_axis_angle [method]
- quat.rotate_axis_angle_v3 [method]
- quat.transform [method]
- quat [function]
- mat3 [object]
- mat3.identity [method]
- mat3.multiply [method]
- mat3.multiply_left [method]
- mat3.multiply2 [method]
- mat3.transpose [method]
- mat3.transpose_from [method]
- mat3.invert [method]
- mat3.invert_from [method]
- mat3.rotateX [method]
- mat3.rotateY [method]
- mat3.rotateZ [method]
- mat3.rotate_axis_angle [method]
- mat3.rotate_axis_angle_v3 [method]
- mat3.scale [method]
- mat3.scale_v3 [method]
- mat3.transform [method]
- mat3 [function]
- mat4 [object]
- mat4.identity [method]
- mat4.multiply [method]
- mat4.multiply_left [method]
- mat4.multiply2 [method]
- mat4.transpose [method]
- mat4.transpose_from [method]
- mat4.invert [method]
- mat4.invert_from [method]
- mat4.translate [method]
- mat4.translate_v3 [method]
- mat4.rotateX [method]
- mat4.rotateY [method]
- mat4.rotateZ [method]
- mat4.rotate_axis_angle [method]
- mat4.rotate_axis_angle_v3 [method]
- mat4.scale [method]
- mat4.scale_v3 [method]
- mat4.transform [method]
- mat4.transform_pos [method]
- mat4.transform_normal [method]
- mat4 [function]
- floatarray [object]
- floatarray data transformation methods
- floatarray.clear [method]
- floatarray.set1 [method]
- floatarray.negate [method]
- floatarray.assign [method]
- floatarray.negate_from [method]
- floatarray.*[_assign] (add|sub|mul|div|mod|pow) [methods]
- floatarray.randbox [method]
- floatarray.randext [method]
- floatarray.multiply_add_assign [method]
- floatarray.lerp_to [method]
- floatarray.to_*_buffer [method]
- floatarray_buffer [function]
- floatarray [function]
- vec2array [function]
- vec3array [function]
- vec4array [function]
- floatarray_from_*_buffer [function]
- ray_plane_intersect [function]
- ray_sphere_intersect [function]
- distance_lines [function]
- distance_line_segments [function]
- distance_point_line [function]
- distance_point_line_segment [function]
- All SGScript objects (A-Z)
- All SGScript functions (A-Z)