mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Changed: Typo fixes (Thanks to DuDraig!)
This commit is contained in:
parent
cd2134e671
commit
4f8b62acb4
6 changed files with 10 additions and 10 deletions
|
@ -233,8 +233,8 @@ inline bool CQuatT<T>::equal(const CQuatT<T>& a, float epsilon) const
|
||||||
template <class T>
|
template <class T>
|
||||||
inline CQuatT<T> CQuatT<T>::operator*(const CQuatT<T>& o) const
|
inline CQuatT<T> CQuatT<T>::operator*(const CQuatT<T>& o) const
|
||||||
{
|
{
|
||||||
// wres= ww´ - v·v´
|
// wres= ww' - v.v'
|
||||||
// vres= wv´ + w´v + v^v´ ]
|
// vres= wv' + w'v + v^v' ]
|
||||||
return CQuatT<T>(
|
return CQuatT<T>(
|
||||||
(w*o.x) +(x*o.w) + (y*o.z)-(z*o.y),
|
(w*o.x) +(x*o.w) + (y*o.z)-(z*o.y),
|
||||||
(w*o.y) +(y*o.w) + (z*o.x)-(x*o.z),
|
(w*o.y) +(y*o.w) + (z*o.x)-(x*o.z),
|
||||||
|
|
|
@ -1418,7 +1418,7 @@ void CTransform::forceCompute()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// force to compûte the father
|
// force to compute the father
|
||||||
if (_HrcParent)
|
if (_HrcParent)
|
||||||
{
|
{
|
||||||
_HrcParent->forceCompute();
|
_HrcParent->forceCompute();
|
||||||
|
|
|
@ -4480,7 +4480,7 @@ bool CheckTri (const Point3& pos0, const Point3& pos1, const Point3& pos2, const
|
||||||
if ((plane*pos)<0.f)
|
if ((plane*pos)<0.f)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Derrière ?
|
// Behind ?
|
||||||
if ((dir*(center-pos))<0.f)
|
if ((dir*(center-pos))<0.f)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
void CTileUndo::toUndo ( const CUndoElement& undoList )
|
void CTileUndo::toUndo ( const CUndoElement& undoList )
|
||||||
{
|
{
|
||||||
// ¨Push in the toundo list
|
// Push in the toundo list
|
||||||
_ToUndoList.push_back (undoList);
|
_ToUndoList.push_back (undoList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ END_MESSAGE_MAP()
|
||||||
|
|
||||||
|
|
||||||
// Creating Drag Image for a CTreeCtrl without images
|
// Creating Drag Image for a CTreeCtrl without images
|
||||||
// Contribution of Pål K Tønder on www.codeguru.com
|
// Contribution of Pal K Tonder on www.codeguru.com
|
||||||
// The method CreateDragImage is used during drag'n drop to create a drag image. The problem is that it only works for a CTreeCtrl with images.
|
// The method CreateDragImage is used during drag'n drop to create a drag image. The problem is that it only works for a CTreeCtrl with images.
|
||||||
// The following method, CreateDragImageEx, checks whether the CTreeCtrl has a valid normal CImageList. If so, it just calls the standard CreateDragImage method and returns.
|
// The following method, CreateDragImageEx, checks whether the CTreeCtrl has a valid normal CImageList. If so, it just calls the standard CreateDragImage method and returns.
|
||||||
// If, on the other hand, no valid CImageList is found, a bitmap is created based on the size of item rect, and the item text is drawn into it. Then a CImageList is
|
// If, on the other hand, no valid CImageList is found, a bitmap is created based on the size of item rect, and the item text is drawn into it. Then a CImageList is
|
||||||
|
|
|
@ -2880,16 +2880,16 @@ public:
|
||||||
{
|
{
|
||||||
NLNET::TParsedCommandLine mif;
|
NLNET::TParsedCommandLine mif;
|
||||||
|
|
||||||
string paramString = " a=1 b=2 ( b=1) ";
|
string paramString = " a=1 b=2 ( b=1) ";
|
||||||
TEST_ASSERT(!mif.parseParamList(paramString));
|
TEST_ASSERT(!mif.parseParamList(paramString));
|
||||||
|
|
||||||
paramString = " lswkd ,fpqoj(( çruq fzemfwijf ujr wmozejifp_zujf woijpç_u ' ";
|
paramString = " lswkd ,fpqoj(( cruq fzemfwijf ujr wmozejifp_zujf woijpc_u ' ";
|
||||||
TEST_ASSERT(!mif.parseParamList(paramString));
|
TEST_ASSERT(!mif.parseParamList(paramString));
|
||||||
|
|
||||||
paramString = "a ( b=2";
|
paramString = "a ( b=2";
|
||||||
TEST_ASSERT(!mif.parseParamList(paramString));
|
TEST_ASSERT(!mif.parseParamList(paramString));
|
||||||
|
|
||||||
paramString = "a b=2)";
|
paramString = "a b=2)";
|
||||||
TEST_ASSERT(!mif.parseParamList(paramString));
|
TEST_ASSERT(!mif.parseParamList(paramString));
|
||||||
|
|
||||||
paramString = "a b=2\"toto\"";
|
paramString = "a b=2\"toto\"";
|
||||||
|
|
Loading…
Reference in a new issue