Commit d6d4fede034731624220747d2c1812bd30cfaf7f
1 parent
c86f3253
Remove UNSIGNED_INTEGER property type (removed from core)
Change-Id: I5bd7eee4565227f2d47a6d269ca4a3f775925bdd
Showing
5 changed files
with
5 additions
and
5 deletions
examples/line-mesh/line-mesh-example.cpp
| @@ -93,7 +93,7 @@ Geometry CreateGeometry() | @@ -93,7 +93,7 @@ Geometry CreateGeometry() | ||
| 93 | // Create indices | 93 | // Create indices |
| 94 | unsigned int indexData[10] = { 0, 1, 1, 2, 2, 3, 3, 4, 4, 0 }; | 94 | unsigned int indexData[10] = { 0, 1, 1, 2, 2, 3, 3, 4, 4, 0 }; |
| 95 | Property::Map indexFormat; | 95 | Property::Map indexFormat; |
| 96 | - indexFormat["indices"] = Property::UNSIGNED_INTEGER; | 96 | + indexFormat["indices"] = Property::INTEGER; |
| 97 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, sizeof(indexData)/sizeof(indexData[0]) ); | 97 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, sizeof(indexData)/sizeof(indexData[0]) ); |
| 98 | indices.SetData(indexData); | 98 | indices.SetData(indexData); |
| 99 | 99 |
examples/mesh-sorting/mesh-sorting-example.cpp
| @@ -104,7 +104,7 @@ Geometry CreateGeometry() | @@ -104,7 +104,7 @@ Geometry CreateGeometry() | ||
| 104 | // Create indices | 104 | // Create indices |
| 105 | unsigned int indexData[6] = { 0, 3, 1, 0, 2, 3 }; | 105 | unsigned int indexData[6] = { 0, 3, 1, 0, 2, 3 }; |
| 106 | Property::Map indexFormat; | 106 | Property::Map indexFormat; |
| 107 | - indexFormat["indices"] = Property::UNSIGNED_INTEGER; | 107 | + indexFormat["indices"] = Property::INTEGER; |
| 108 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, 6 ); | 108 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, 6 ); |
| 109 | indices.SetData(indexData); | 109 | indices.SetData(indexData); |
| 110 | 110 |
examples/new-window/new-window-example.cpp
| @@ -441,7 +441,7 @@ Geometry NewWindowController::CreateMeshGeometry() | @@ -441,7 +441,7 @@ Geometry NewWindowController::CreateMeshGeometry() | ||
| 441 | // Specify all the faces | 441 | // Specify all the faces |
| 442 | unsigned int indexData[12] = { 0,1,3,0,2,4,0,3,4,0,2,1 }; | 442 | unsigned int indexData[12] = { 0,1,3,0,2,4,0,3,4,0,2,1 }; |
| 443 | Property::Map indexFormat; | 443 | Property::Map indexFormat; |
| 444 | - indexFormat["indices"] = Property::UNSIGNED_INTEGER; | 444 | + indexFormat["indices"] = Property::INTEGER; |
| 445 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, 12 ); | 445 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, 12 ); |
| 446 | indices.SetData( indexData ); | 446 | indices.SetData( indexData ); |
| 447 | 447 |
examples/radial-menu/radial-sweep-view-impl.cpp
| @@ -336,7 +336,7 @@ void RadialSweepViewImpl::CreateStencil( Radian initialSector ) | @@ -336,7 +336,7 @@ void RadialSweepViewImpl::CreateStencil( Radian initialSector ) | ||
| 336 | 336 | ||
| 337 | unsigned int indexData[15] = { 0,1,2,0,2,3,0,3,4,0,4,5,0,5,6 }; | 337 | unsigned int indexData[15] = { 0,1,2,0,2,3,0,3,4,0,4,5,0,5,6 }; |
| 338 | Property::Map indexFormat; | 338 | Property::Map indexFormat; |
| 339 | - indexFormat["indices"] = Property::UNSIGNED_INTEGER; | 339 | + indexFormat["indices"] = Property::INTEGER; |
| 340 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, 15u ); | 340 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, 15u ); |
| 341 | indices.SetData( indexData ); | 341 | indices.SetData( indexData ); |
| 342 | 342 |
examples/textured-mesh/textured-mesh-example.cpp
| @@ -81,7 +81,7 @@ Geometry CreateGeometry() | @@ -81,7 +81,7 @@ Geometry CreateGeometry() | ||
| 81 | // Create indices | 81 | // Create indices |
| 82 | unsigned int indexData[6] = { 0, 3, 1, 0, 2, 3 }; | 82 | unsigned int indexData[6] = { 0, 3, 1, 0, 2, 3 }; |
| 83 | Property::Map indexFormat; | 83 | Property::Map indexFormat; |
| 84 | - indexFormat["indices"] = Property::UNSIGNED_INTEGER; | 84 | + indexFormat["indices"] = Property::INTEGER; |
| 85 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, sizeof(indexData)/sizeof(indexData[0]) ); | 85 | PropertyBuffer indices = PropertyBuffer::New( indexFormat, sizeof(indexData)/sizeof(indexData[0]) ); |
| 86 | indices.SetData(indexData); | 86 | indices.SetData(indexData); |
| 87 | 87 |