Fix spelling mistakes

This commit is contained in:
Eric Engestrom
2016-04-03 01:38:00 +01:00
parent d094dfc3a1
commit 87e7cf00a2
72 changed files with 129 additions and 129 deletions

View File

@@ -388,7 +388,7 @@ bool PLY::Element::ParseElement (const char* pCur,
if (!SkipSpaces(&pCur))return false;
//parse the number of occurences of this element
//parse the number of occurrences of this element
pOut->NumOccur = strtoul10(pCur,&pCur);
// go to the next line
@@ -854,7 +854,7 @@ bool PLY::PropertyInstance::ParseValueBinary(
out->iUInt = (uint32_t)*((uint32_t*)pCur);
pCur += 4;
// Swap endianess
// Swap endianness
if (p_bBE)ByteSwap::Swap((int32_t*)&out->iUInt);
break;
@@ -862,7 +862,7 @@ bool PLY::PropertyInstance::ParseValueBinary(
{
uint16_t i = *((uint16_t*)pCur);
// Swap endianess
// Swap endianness
if (p_bBE)ByteSwap::Swap(&i);
out->iUInt = (uint32_t)i;
pCur += 2;
@@ -880,7 +880,7 @@ bool PLY::PropertyInstance::ParseValueBinary(
out->iInt = *((int32_t*)pCur);
pCur += 4;
// Swap endianess
// Swap endianness
if (p_bBE)ByteSwap::Swap(&out->iInt);
break;
@@ -888,7 +888,7 @@ bool PLY::PropertyInstance::ParseValueBinary(
{
int16_t i = *((int16_t*)pCur);
// Swap endianess
// Swap endianness
if (p_bBE)ByteSwap::Swap(&i);
out->iInt = (int32_t)i;
pCur += 2;
@@ -904,7 +904,7 @@ bool PLY::PropertyInstance::ParseValueBinary(
{
out->fFloat = *((float*)pCur);
// Swap endianess
// Swap endianness
if (p_bBE)ByteSwap::Swap((int32_t*)&out->fFloat);
pCur += 4;
break;
@@ -913,7 +913,7 @@ bool PLY::PropertyInstance::ParseValueBinary(
{
out->fDouble = *((double*)pCur);
// Swap endianess
// Swap endianness
if (p_bBE)ByteSwap::Swap((int64_t*)&out->fDouble);
pCur += 8;
break;