Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YGOPRO-520DIY
ygopro
Commits
db333ef3
Commit
db333ef3
authored
Mar 11, 2025
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update CGUITTFont::createSharedPlane
parent
ad9c8f8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
gframe/CGUITTFont.cpp
gframe/CGUITTFont.cpp
+6
-9
No files found.
gframe/CGUITTFont.cpp
View file @
db333ef3
...
...
@@ -854,17 +854,14 @@ void CGUITTFont::createSharedPlane() {
0---1
*/
using
namespace
core
;
using
namespace
video
;
using
namespace
scene
;
S3DVertex
vertices
[
4
];
video
::
S3DVertex
vertices
[
4
];
u16
indices
[
6
]
=
{
0
,
2
,
3
,
3
,
1
,
0
};
vertices
[
0
]
=
S3DVertex
(
vector3df
(
0
,
-
1
,
0
),
vector3df
(
0
,
0
,
-
1
),
SColor
(
255
,
255
,
255
,
255
),
vector2df
(
0
,
1
));
vertices
[
1
]
=
S3DVertex
(
vector3df
(
1
,
-
1
,
0
),
vector3df
(
0
,
0
,
-
1
),
SColor
(
255
,
255
,
255
,
255
),
vector2df
(
1
,
1
));
vertices
[
2
]
=
S3DVertex
(
vector3df
(
0
,
0
,
0
),
vector3df
(
0
,
0
,
-
1
),
SColor
(
255
,
255
,
255
,
255
),
vector2df
(
0
,
0
));
vertices
[
3
]
=
S3DVertex
(
vector3df
(
1
,
0
,
0
),
vector3df
(
0
,
0
,
-
1
),
SColor
(
255
,
255
,
255
,
255
),
vector2df
(
1
,
0
));
vertices
[
0
]
=
video
::
S3DVertex
(
core
::
vector3df
(
0
,
-
1
,
0
),
core
::
vector3df
(
0
,
0
,
-
1
),
video
::
SColor
(
255
,
255
,
255
,
255
),
core
::
vector2df
(
0
,
1
));
vertices
[
1
]
=
video
::
S3DVertex
(
core
::
vector3df
(
1
,
-
1
,
0
),
core
::
vector3df
(
0
,
0
,
-
1
),
video
::
SColor
(
255
,
255
,
255
,
255
),
core
::
vector2df
(
1
,
1
));
vertices
[
2
]
=
video
::
S3DVertex
(
core
::
vector3df
(
0
,
0
,
0
),
core
::
vector3df
(
0
,
0
,
-
1
),
video
::
SColor
(
255
,
255
,
255
,
255
),
core
::
vector2df
(
0
,
0
));
vertices
[
3
]
=
video
::
S3DVertex
(
core
::
vector3df
(
1
,
0
,
0
),
core
::
vector3df
(
0
,
0
,
-
1
),
video
::
SColor
(
255
,
255
,
255
,
255
),
core
::
vector2df
(
1
,
0
));
SMeshBuffer
*
buf
=
new
SMeshBuffer
();
scene
::
SMeshBuffer
*
buf
=
new
scene
::
SMeshBuffer
();
buf
->
append
(
vertices
,
4
,
indices
,
6
);
shared_plane_
.
addMeshBuffer
(
buf
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment