Fix spelling mistake
This commit is contained in:
@@ -313,7 +313,7 @@ int Assimp_Info (const char* const* params, unsigned int num) {
|
||||
|
||||
// Verbose and silent at the same time are not allowed
|
||||
if ( verbose && silent ) {
|
||||
printf("assimp info: Invalid arguments, verbose and silent at the same time are forbitten. ");
|
||||
printf("assimp info: Invalid arguments, verbose and silent at the same time are forbidden. ");
|
||||
return AssimpCmdInfoError::InvalidCombinaisonOfArguments;
|
||||
}
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ D3DXVECTOR4 g_aclNormalColors[14] =
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
// Recursivly count the number of nodes in an asset's node graph
|
||||
// Recursively count the number of nodes in an asset's node graph
|
||||
// Used by LoadAsset()
|
||||
//-------------------------------------------------------------------------------
|
||||
void GetNodeCount(aiNode* pcNode, unsigned int* piCnt)
|
||||
@@ -1535,7 +1535,7 @@ int CDisplay::RenderStereoView(const aiMatrix4x4& m)
|
||||
// (move back to the original position)
|
||||
g_sCamera.vPos -= g_sCamera.vRight * 0.03f;
|
||||
|
||||
// reenable all channels
|
||||
// re-enable all channels
|
||||
g_piDevice->SetRenderState(D3DRS_COLORWRITEENABLE,
|
||||
D3DCOLORWRITEENABLE_RED |
|
||||
D3DCOLORWRITEENABLE_GREEN |
|
||||
|
||||
@@ -1483,7 +1483,7 @@ int CMaterialManager::EndMaterial (AssetHelper::MeshHelper* pcMesh)
|
||||
pcMesh->piEffect->EndPass();
|
||||
pcMesh->piEffect->End();
|
||||
|
||||
// reenable culling if necessary
|
||||
// re-enable culling if necessary
|
||||
if (pcMesh->twosided && g_sOptions.bCulling) {
|
||||
g_piDevice->SetRenderState(D3DRS_CULLMODE,D3DCULL_CCW);
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ void MakeFileAssociations() {
|
||||
RegSetValueEx(hRegistry,"",0,REG_SZ,(const BYTE*)szTemp,(DWORD)strlen(szTemp)+1);
|
||||
RegCloseKey(hRegistry);
|
||||
|
||||
CLogDisplay::Instance().AddEntry("[OK] File assocations have been registered",
|
||||
CLogDisplay::Instance().AddEntry("[OK] File associations have been registered",
|
||||
D3DCOLOR_ARGB(0xFF,0,0xFF,0));
|
||||
|
||||
CLogDisplay::Instance().AddEntry(tmp.data,D3DCOLOR_ARGB(0xFF,0,0xFF,0));
|
||||
@@ -1508,7 +1508,7 @@ INT_PTR CALLBACK MessageProc(HWND hwndDlg,UINT uMsg, WPARAM wParam,LPARAM lParam
|
||||
sRect.right -= sRect.left;
|
||||
sRect.bottom -= sRect.top;
|
||||
|
||||
// if the mouse klick was inside the viewer panel
|
||||
// if the mouse click was inside the viewer panel
|
||||
// give the focus to it
|
||||
if (xPos > 0 && xPos < sRect.right && yPos > 0 && yPos < sRect.bottom)
|
||||
{
|
||||
|
||||
@@ -125,7 +125,7 @@ public:
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
/** Calculates the node transformations for the scene. Call this to get
|
||||
* uptodate results before calling one of the getters.
|
||||
* up-to-date results before calling one of the getters.
|
||||
* @param pTime Current time. Can be an arbitrary range.
|
||||
*/
|
||||
void Calculate(double pTime);
|
||||
|
||||
@@ -489,7 +489,7 @@ int CreateAssetData() {
|
||||
nidx = 3;
|
||||
break;
|
||||
default:
|
||||
CLogWindow::Instance().WriteLine("Unknown primitiv type");
|
||||
CLogWindow::Instance().WriteLine("Unknown primitive type");
|
||||
break;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user