Change O3DVertex struct
FossilOrigin-Name: 2bf3eabe2875f0326928d79864923dab8a34d4d0a706d21bcf9370cb456fdd0d
This commit is contained in:
parent
cdf559f8e3
commit
95fd0d1a5d
3 changed files with 20 additions and 14 deletions
|
@ -32,14 +32,14 @@ OF_APPLICATION_DELEGATE(TestsAppDelegate)
|
|||
options: nil] autorelease];
|
||||
|
||||
const O3DVertex outerTriangle[] = {
|
||||
{ -1, -1, 1, 0, 0 },
|
||||
{ 0, 1, 0, 1, 0 },
|
||||
{ 1, -1, 0, 0, 1 }
|
||||
{{ -1, -1 }, { 1, 0, 0 }},
|
||||
{{ 0, 1 }, { 0, 1, 0 }},
|
||||
{{ 1, -1 }, { 0, 0, 1 }}
|
||||
};
|
||||
const O3DVertex innerTriangle[] = {
|
||||
{ -0.5, 0.5, 1, 1, 0 },
|
||||
{ 0, -0.5, 0, 1, 1 },
|
||||
{ 0.5, 0.5, 1, 0, 1 }
|
||||
{{ -0.5, 0.5 }, { 1, 1, 0 }},
|
||||
{{ 0, -0.5 }, { 0, 1, 1 }},
|
||||
{{ 0.5, 0.5 }, { 1, 0, 1 }}
|
||||
};
|
||||
|
||||
OFDate *startDate = [OFDate date];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue