mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-13 22:09:53 -05:00
* MeshUtility を UniGLTF 下に移動 * Assets/VRM10 を追加 * JsonSchemaからのコード生成 UniGLTF/Editor/Generator を追加
30 lines
720 B
C#
30 lines
720 B
C#
using System;
|
|
|
|
namespace VrmLib
|
|
{
|
|
public struct SkinJoints : IEquatable<SkinJoints>
|
|
{
|
|
public ushort Joint0;
|
|
public ushort Joint1;
|
|
public ushort Joint2;
|
|
public ushort Joint3;
|
|
|
|
public SkinJoints(ushort j0, ushort j1, ushort j2, ushort j3)
|
|
{
|
|
Joint0 = j0;
|
|
Joint1 = j1;
|
|
Joint2 = j2;
|
|
Joint3 = j3;
|
|
}
|
|
|
|
public bool Equals(SkinJoints other)
|
|
{
|
|
if (Joint0 != other.Joint0) return false;
|
|
if (Joint1 != other.Joint1) return false;
|
|
if (Joint2 != other.Joint2) return false;
|
|
if (Joint3 != other.Joint3) return false;
|
|
return true;
|
|
}
|
|
}
|
|
}
|