Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
hw3d
Commits
afd72177
Commit
afd72177
authored
Aug 04, 2019
by
chili
Browse files
fix plane normal
parent
1c2c658e
Changes
1
Show whitespace changes
Inline
Side-by-side
hw3d/Plane.h
View file @
afd72177
...
...
@@ -40,7 +40,7 @@ public:
const
float
x_pos_tc
=
float
(
x
)
*
divisionSize_x_tc
;
vb
.
EmplaceBack
(
dx
::
XMFLOAT3
{
x_pos
,
y_pos
,
0.0
f
},
dx
::
XMFLOAT3
{
0.0
f
,
0.0
f
,
1.0
f
},
dx
::
XMFLOAT3
{
0.0
f
,
0.0
f
,
-
1.0
f
},
dx
::
XMFLOAT2
{
x_pos_tc
,
y_pos_tc
}
);
}
...
...
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