Skip to content

Commit

Permalink
Remove init() in MaterialsMToonTextureInfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
is0263rf committed Apr 17, 2024
1 parent 8a176fc commit 3d8d21c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Sources/VRMKit/VRM/Material.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,6 @@ extension GLTF {
public let texCoord: Int?
public let extensions: CodableAny?
public let extras: CodableAny?

public init(from decoder: Decoder) throws {
let container = try decoder.container(keyedBy: CodingKeys.self)
index = try container.decode(Int.self, forKey: .index)
texCoord = try container.decodeIfPresent(Int.self, forKey: .texCoord)
extensions = try container.decodeIfPresent(CodableAny.self, forKey: .extensions)
extras = try container.decodeIfPresent(CodableAny.self, forKey: .extras)
}
}

public struct MaterialsMToonShadingShiftTexture: Codable {
Expand Down

0 comments on commit 3d8d21c

Please sign in to comment.