Integrate all the progress into master #6
|
@ -69,6 +69,8 @@ namespace GTETest {
|
|||
}
|
||||
|
||||
namespace Background {
|
||||
static constexpr auto ColorBase = 0xC0;
|
||||
|
||||
static constexpr GPU::AreaI16 Area[2] = {
|
||||
Make::AreaI16(-30, -30, 350, 350),
|
||||
Make::AreaI16(0, 0, GPU::Display::Width, GPU::Display::Width),
|
||||
|
@ -79,8 +81,8 @@ namespace GTETest {
|
|||
};
|
||||
|
||||
static GPU::POLY_G4 poly[2] = {
|
||||
Make::POLY_G4(Area[0], {GPU::Color24::Blue(), GPU::Color24::Red(), GPU::Color24::Green(), GPU::Color24::Purple()}),
|
||||
Make::POLY_G4(Area[1], {GPU::Color24::Blue(), GPU::Color24::Red(), GPU::Color24::Green(), GPU::Color24::Purple()}),
|
||||
Make::POLY_G4(Area[0], {GPU::Color24::Blue(ColorBase), GPU::Color24::Red(ColorBase), GPU::Color24::Green(ColorBase), GPU::Color24::Purple(ColorBase)}),
|
||||
Make::POLY_G4(Area[1], {GPU::Color24::Blue(ColorBase), GPU::Color24::Red(ColorBase), GPU::Color24::Green(ColorBase), GPU::Color24::Purple(ColorBase)}),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -133,15 +133,6 @@ namespace JabyEngine {
|
|||
poly.vertex3 = MATRIX::apply_to(GPU::POLY_G4::vertex3_from(area));
|
||||
return poly;
|
||||
}
|
||||
|
||||
/*GPU::POLY_FT4& apply_to(GPU::POLY_FT4& poly) const {
|
||||
MATRIX::apply_to(poly.vertex0);
|
||||
MATRIX::apply_to(poly.vertex1);
|
||||
MATRIX::apply_to(poly.vertex2);
|
||||
MATRIX::apply_to(poly.vertex3);
|
||||
|
||||
return poly;
|
||||
}*/
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue