math_adapter 0.3.8

Collection of math adapters to decouple your application from math libraries' implementations and to provide both inter-libraries compatibility and affordable exchangeability.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//!
//! Implementation of adapters for specific math libraries.
//!

meta_tools::mod_interface!
{
  #[ cfg( feature = "cgmath" ) ]
  layer cgmath;
  #[ cfg( feature = "nalgebra" ) ]
  layer nalgebra;
  #[ cfg( feature = "winit" ) ]
  layer winit;
}