Remove -Wno-comment warning suppression
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
This commit is contained in:
@@ -976,14 +976,14 @@ namespace UnitTest
|
||||
EXPECT_EQ(uvStreamTangentBitmask.GetFullTangentBitmask(), 0x70000F51);
|
||||
}
|
||||
|
||||
//
|
||||
// +----+
|
||||
// / /|
|
||||
// +----+ |
|
||||
// | | +
|
||||
// | |/
|
||||
// +----+
|
||||
//
|
||||
/*
|
||||
+----+
|
||||
/ /|
|
||||
+----+ |
|
||||
| | +
|
||||
| |/
|
||||
+----+
|
||||
*/
|
||||
static constexpr AZStd::array CubePositions = { -1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f,
|
||||
-1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, -1.0f, -1.0f, -1.0f, 1.0f, -1.0f, -1.0f };
|
||||
static constexpr AZStd::array CubeIndices = {
|
||||
@@ -993,23 +993,25 @@ namespace UnitTest
|
||||
static constexpr AZStd::array QuadPositions = { -1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, -1.0f, -1.0f, 0.0f, 1.0f, -1.0f, 0.0f };
|
||||
static constexpr AZStd::array QuadIndices = { uint32_t{ 0 }, 2, 1, 1, 2, 3 };
|
||||
|
||||
// This class creates a Model with one LOD, whose mesh contains 2 planes. Plane 1 is in the XY plane at Z=-0.5, and
|
||||
// plane 2 is in the XY plane at Z=0.5. The two planes each have 9 quads which have been triangulated. It only has
|
||||
// a position and index buffer.
|
||||
//
|
||||
// -0.33
|
||||
// -1 0.33 1
|
||||
// 0.5 *---*---*---*
|
||||
// \ / \ / \ / \
|
||||
// *---*---*---*
|
||||
// \ / \ / \ / \
|
||||
// -0.5 *- *---*---*---*
|
||||
// \ \ / \ / \ / \
|
||||
// *- *---*---*---*
|
||||
// \ \ \ \
|
||||
// *---*---*---*
|
||||
// \ / \ / \ / \
|
||||
// *---*---*---*
|
||||
/*
|
||||
This class creates a Model with one LOD, whose mesh contains 2 planes. Plane 1 is in the XY plane at Z=-0.5, and
|
||||
plane 2 is in the XY plane at Z=0.5. The two planes each have 9 quads which have been triangulated. It only has
|
||||
a position and index buffer.
|
||||
|
||||
-0.33
|
||||
-1 0.33 1
|
||||
0.5 *---*---*---*
|
||||
\ / \ / \ / \
|
||||
*---*---*---*
|
||||
\ / \ / \ / \
|
||||
-0.5 *- *---*---*---*
|
||||
\ \ / \ / \ / \
|
||||
*- *---*---*---*
|
||||
\ \ \ \
|
||||
*---*---*---*
|
||||
\ / \ / \ / \
|
||||
*---*---*---*
|
||||
*/
|
||||
static constexpr AZStd::array TwoSeparatedPlanesPositions{
|
||||
-1.0f, -0.333f, -0.5f, -0.333f, -1.0f, -0.5f, -0.333f, -0.333f, -0.5f, 0.333f, -0.333f, -0.5f, 1.0f, -1.0f, -0.5f,
|
||||
1.0f, -0.333f, -0.5f, 0.333f, -1.0f, -0.5f, 0.333f, 1.0f, -0.5f, 1.0f, 0.333f, -0.5f, 1.0f, 1.0f, -0.5f,
|
||||
|
||||
@@ -1666,20 +1666,21 @@ namespace UnitTest
|
||||
EXPECT_FALSE(result7.IsFullyBaked());
|
||||
EXPECT_EQ(result7.GetStableId().GetIndex(), stableId7);
|
||||
|
||||
// All searches so far found exactly the node we were looking for
|
||||
// The next couple of searches will not find the requested node
|
||||
// and will instead default to its parent, up the tree to the root
|
||||
//
|
||||
// [] [Root]
|
||||
// / \
|
||||
// [Color] [Teal] [Fuchsia]
|
||||
// / \
|
||||
// [Quality] [Sublime] [Auto]
|
||||
// /
|
||||
// [NumberSamples] [50]
|
||||
// / \
|
||||
// [Raytracing] [On] [Off]
|
||||
|
||||
/*
|
||||
All searches so far found exactly the node we were looking for
|
||||
The next couple of searches will not find the requested node
|
||||
and will instead default to its parent, up the tree to the root
|
||||
|
||||
[] [Root]
|
||||
/ \
|
||||
[Color] [Teal] [Fuchsia]
|
||||
/ \
|
||||
[Quality] [Sublime] [Auto]
|
||||
/
|
||||
[NumberSamples] [50]
|
||||
/ \
|
||||
[Raytracing] [On] [Off]
|
||||
*/
|
||||
|
||||
// ----------------------------------------
|
||||
// [Quality::Poor]
|
||||
|
||||
Reference in New Issue
Block a user