Parses color texture linked to the diffuse reflectivity of the material map_Kd [-options]
(fields []string)
| 914 | // Parses color texture linked to the diffuse reflectivity of the material |
| 915 | // map_Kd [-options] <filename> |
| 916 | func (dec *Decoder) parseMapKd(fields []string) error { |
| 917 | |
| 918 | if len(fields) < 1 { |
| 919 | return dec.formatError("No fields") |
| 920 | } |
| 921 | dec.matCurrent.MapKd = fields[0] |
| 922 | return nil |
| 923 | } |
| 924 | |
| 925 | func (dec *Decoder) formatError(msg string) error { |
| 926 |
no test coverage detected