e2r 0.2.0

experimental rendering engine in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use implement::math::mat;

pub trait AdsCoeff {
    fn get_ads_coeff_spec( & self ) -> mat::Mat3x1< f32 >;
    fn get_ads_coeff_diff( & self ) -> mat::Mat3x1< f32 >;
    fn get_ads_coeff_amb( & self ) -> mat::Mat3x1< f32 >;
}

pub trait AdsVal {
    fn get_ads_val_spec( & self ) -> mat::Mat3x1< f32 >;
    fn get_ads_val_diff( & self ) -> mat::Mat3x1< f32 >;
    fn get_ads_val_amb( & self ) -> mat::Mat3x1< f32 >;
}