EAGL.Examples.Math (eagl v0.1.0)

View Source

Comprehensive example demonstrating all EAGL.Math functionality. This showcases vector and quaternion constructor macros, vector operations, quaternions, matrices, utility functions, and real-world OpenGL usage patterns.

Summary

Functions

Example showing various vector and quaternion constructors.

Demonstrate lighting calculations using vectors.

Demonstrate matrix operations.

Example showing how to use these in an OpenGL context.

Demonstrate quaternion operations.

Run the math example - consistent interface with other examples.

Demonstrate typical OpenGL transformation pipeline.

Demonstrate utility and trigonometric functions.

Demonstrate vector operations.

Functions

constructor_examples()

Example showing various vector and quaternion constructors.

lighting_demo()

Demonstrate lighting calculations using vectors.

matrix_operations_demo()

Demonstrate matrix operations.

opengl_usage_examples()

Example showing how to use these in an OpenGL context.

quaternion_operations_demo()

Demonstrate quaternion operations.

run_example()

Run the math example - consistent interface with other examples.

transformation_pipeline_demo()

Demonstrate typical OpenGL transformation pipeline.

utility_functions_demo()

Demonstrate utility and trigonometric functions.

vector_operations_demo()

Demonstrate vector operations.