Elight.Utility/Files/DataMatrix/DmtxMatrix3.cs

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;

namespace DataMatrix.net
{
	// Token: 0x0200001A RID: 26
	internal class DmtxMatrix3
	{
		// Token: 0x060000BE RID: 190 RVA: 0x000051C1 File Offset: 0x000033C1
		private DmtxMatrix3()
		{
		}

		// Token: 0x060000BF RID: 191 RVA: 0x000051CC File Offset: 0x000033CC
		internal DmtxMatrix3(DmtxMatrix3 src)
		{
			double[,] array = new double[3, 3];
			array[0, 0] = src[0, 0];
			array[0, 1] = src[0, 1];
			array[0, 2] = src[0, 2];
			array[1, 0] = src[1, 0];
			array[1, 1] = src[1, 1];
			array[1, 2] = src[1, 2];
			array[2, 0] = src[2, 0];
			array[2, 1] = src[2, 1];
			array[2, 2] = src[2, 2];
			this._data = array;
		}

		// Token: 0x060000C0 RID: 192 RVA: 0x00005284 File Offset: 0x00003484
		internal static DmtxMatrix3 Identity()
		{
			return DmtxMatrix3.Translate(0.0, 0.0);
		}

		// Token: 0x060000C1 RID: 193 RVA: 0x000052F8 File Offset: 0x000034F8
		internal static DmtxMatrix3 Translate(double tx, double ty)
		{
			DmtxMatrix3 dmtxMatrix = new DmtxMatrix3();
			DmtxMatrix3 dmtxMatrix2 = dmtxMatrix;
			double[,] array = new double[,]
			{
				{
					1.0,
					0.0,
					0.0
				},
				{
					0.0,
					1.0,
					0.0
				},
				{
					0.0,
					0.0,
					1.0
				}
			};
			array[2, 0] = tx;
			array[2, 1] = ty;
			dmtxMatrix2._data = array;
后面还有 201 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。