以下の内容はhttps://baba-s.hatenablog.com/entry/2019/09/06/073000より取得しました。


【Unity】float ではなく double の Vector、Quaternion、Matrix を使用できる「Mathd」紹介

はじめに

「Mathd」を Unity プロジェクトに導入することで
float ではなく double の Vector、Quaternion、Matrix を使用できるようになります

使用例

using Mathd;
using UnityEngine;

public class Example : MonoBehaviour
{
    private void Start()
    {
        var vec2d = new Vector2d( 1.0, 2.0 );
        var vec3d = new Vector3d( 1.0, 2.0, 3.0 );
        var vec4d = new Vector4d( 1.0, 2.0, 3.0, 4.0 );
        var m     = new Matrix4x4d();
        var q     = new Quaterniond();
    }
}



以上の内容はhttps://baba-s.hatenablog.com/entry/2019/09/06/073000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14