| 857 | } |
| 858 | |
| 859 | void Rasterizer::SetTexture( |
| 860 | const unsigned int size_x, |
| 861 | const unsigned int size_y, |
| 862 | const uint32_t* const data ) |
| 863 | { |
| 864 | texture_size_x_= size_x; |
| 865 | texture_size_y_= size_y; |
| 866 | max_valid_tc_u_ = ( texture_size_x_ << 16 ) - 1; |
| 867 | max_valid_tc_v_ = ( texture_size_y_ << 16 ) - 1; |
| 868 | texture_data_= data; |
| 869 | } |
| 870 | |
| 871 | void Rasterizer::SetLight( const fixed16_t light ) |
| 872 | { |
no outgoing calls
no test coverage detected