修改底层渲染为OpenGL

This commit is contained in:
2025-10-23 15:21:12 +08:00
parent 1fe898e09c
commit f9a2300b5a
37 changed files with 2782 additions and 3761 deletions

View File

@@ -85,6 +85,11 @@ typedef struct VecPos
return *this;
}
// 乘法
VecPos operator*(float value) const
{
return VecPos(x * value, y * value);
}
} VecPos;
// 浮点数坐标向量
@@ -195,6 +200,12 @@ typedef struct VecSize
height -= other.height;
return *this;
}
// 乘法
VecSize operator*(float value) const
{
return VecSize(width * value, height * value);
}
} VecSize;
typedef struct VecPos3
@@ -247,4 +258,10 @@ typedef struct VecSpeed3
{
return x == other.x && y == other.y && z == other.z;
}
} VecSpeed3;
} VecSpeed3;
enum LE_BlEND_MODE
{
NONE,
LINEARDODGE
};