• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MeltyPlayer / MeltyTool / 22551907903

01 Mar 2026 08:26PM UTC coverage: 41.595% (+0.06%) from 41.54%
22551907903

push

github

MeltyPlayer
Set up a little project for loading Mario Kart 3d tracks.

6988 of 18904 branches covered (36.97%)

Branch coverage included in aggregate %.

0 of 52 new or added lines in 4 files covered. (0.0%)

726 existing lines in 36 files now uncovered.

29926 of 69843 relevant lines covered (42.85%)

62490.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.48
/FinModelUtility/Fin/Fin/src/model/impl/material/StandardMaterialImpl.cs
1
using System.Collections.Generic;
2
using System.Drawing;
3

4
namespace fin.model.impl;
5

6
public partial class ModelImpl<TVertex> {
7
  private partial class MaterialManagerImpl {
8
    public IStandardMaterial AddStandardMaterial() {
13✔
9
      var material = new StandardMaterialImpl {
13✔
10
          Index = this.materials_.Count
13✔
11
      };
13✔
12
      this.materials_.Add(material);
13✔
13
      return material;
13✔
14
    }
13✔
15
  }
16

17
  private sealed class StandardMaterialImpl : BMaterialImpl, IStandardMaterial {
18
    public override IEnumerable<IReadOnlyTexture> Textures {
19
      get {
65✔
20
        if (this.DiffuseTexture != null) {
100✔
21
          yield return this.DiffuseTexture;
35✔
22
        }
35✔
23

24
        if (this.MaskTexture != null) {
65!
25
          yield return this.MaskTexture;
×
UNCOV
26
        }
×
27

28
        if (this.AmbientOcclusionTexture != null) {
70✔
29
          yield return this.AmbientOcclusionTexture;
5✔
30
        }
5✔
31

32
        if (this.NormalTexture != null) {
85✔
33
          yield return this.NormalTexture;
20✔
34
        }
20✔
35

36
        if (this.EmissiveTexture != null) {
75✔
37
          yield return this.EmissiveTexture;
10✔
38
        }
10✔
39

40
        if (this.SpecularTexture != null) {
85✔
41
          yield return this.SpecularTexture;
20✔
42
        }
20✔
43
      }
65✔
44
    }
45

46
    public IReadOnlyTexture? DiffuseTexture { get; set; }
138✔
47
    public Color? DiffuseColor { get; set; }
13✔
48
    public IReadOnlyTexture? MaskTexture { get; set; }
65✔
49
    public IReadOnlyTexture? AmbientOcclusionTexture { get; set; }
93✔
50
    public IReadOnlyTexture? NormalTexture { get; set; }
116✔
51
    public IReadOnlyTexture? EmissiveTexture { get; set; }
99✔
52
    public IReadOnlyTexture? SpecularTexture { get; set; }
102✔
53
  }
54
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc