(color *math32.Color)
| 727 | } |
| 728 | |
| 729 | func (cm *chartMaterial) Init(color *math32.Color) { |
| 730 | |
| 731 | cm.Material.Init() |
| 732 | cm.SetShader("shaderChart") |
| 733 | cm.SetShaderUnique(true) |
| 734 | cm.uniColor.Init("MatColor") |
| 735 | cm.color = *color |
| 736 | } |
| 737 | |
| 738 | func (cm *chartMaterial) RenderSetup(gs *gls.GLS) { |
| 739 |
nothing calls this directly
no test coverage detected