mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 00:36:17 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
157cac7c02
commit
0b5ccf03c3
6 changed files with 9 additions and 9 deletions
|
@ -70,16 +70,16 @@ public:
|
|||
virtual void show() = 0;
|
||||
|
||||
/// Serial the force definition. MUST be called by deriver during their serialisation
|
||||
virtual void serial(NLMISC::IStream &f) throw(NLMISC::EStream);
|
||||
virtual void serial(NLMISC::IStream &f) throw(NLMISC::EStream);
|
||||
|
||||
/// check whether this force is integrable over time. The default is false
|
||||
virtual bool isIntegrable(void) const { return false; }
|
||||
virtual bool isIntegrable(void) const { return false; }
|
||||
|
||||
/// inherited from CPSLocatedBindableTarget, we use that to tell whether this force is integrable or not
|
||||
virtual void attachTarget(CPSLocated *ptr);
|
||||
virtual void attachTarget(CPSLocated *ptr);
|
||||
|
||||
/// inherited from CPSLocatedBindableTarget
|
||||
void releaseTargetRsc(CPSLocated *target);
|
||||
void releaseTargetRsc(CPSLocated *target);
|
||||
|
||||
|
||||
/** Integrate this force on the given located. If 'accumulate' is set to true, it just add the effect of this force on position
|
||||
|
|
|
@ -184,7 +184,7 @@ public:
|
|||
typedef std::vector<CVPInstruction> TProgram;
|
||||
public:
|
||||
/** Parse a vertex program, and convert to proprietary format.
|
||||
* It is intended to be use by a driver implementation.
|
||||
* It is intended to be used by a driver implementation.
|
||||
* \warning: Only syntax is checked. It doesn't check that a register has been initialised before use.
|
||||
* \param src The input text of a vertex program, in OpenGL format.
|
||||
* \param result The result program.
|
||||
|
|
|
@ -2425,7 +2425,7 @@ bool CDriverGL::getAdapter(uint adapter, CAdapter &desc) const
|
|||
desc.Driver = (const char *) glGetString (GL_VERSION);
|
||||
desc.Vendor= (const char *) glGetString (GL_VENDOR);
|
||||
|
||||
desc.Description = "Default openGL adapter";
|
||||
desc.Description = "Default OpenGL adapter";
|
||||
desc.DeviceId = 0;
|
||||
desc.DriverVersion = 0;
|
||||
desc.Revision = 0;
|
||||
|
|
|
@ -883,7 +883,6 @@ void CDriverGL::setupGlArraysStd(CVertexBufferInfo &vb)
|
|||
case CVertexBufferInfo::HwNVIDIA:
|
||||
case CVertexBufferInfo::HwARB:
|
||||
{
|
||||
|
||||
// setup vertex ptr.
|
||||
//-----------
|
||||
uint numVertexCoord = CVertexBuffer::NumComponentsType[vb.Type[CVertexBuffer::Position]];
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
#include "nel/misc/types_nl.h"
|
||||
#include "nel/net/callback_net_base.h"
|
||||
#include "nel/net/callback_client.h"
|
||||
#include "nel/net/net_log.h"
|
||||
#include "nel/net/net_log.h"
|
||||
|
||||
|
||||
#ifdef USE_MESSAGE_RECORDER
|
||||
#include "nel/net/message_recorder.h"
|
||||
|
|
|
@ -63,7 +63,7 @@ void CColorModifier::convertBitmap(NLMISC::CBitmap &destBitmap, const NLMISC::CB
|
|||
|
||||
result.buildFromHLS(h + deltaH, l + Lightness, s + Saturation);
|
||||
|
||||
/// apply contrasts
|
||||
/// apply contrasts
|
||||
result.R = CalcBrightnessContrast(result.R, Luminosity, Contrast, grey);
|
||||
result.G = CalcBrightnessContrast(result.G, Luminosity, Contrast, grey);
|
||||
result.B = CalcBrightnessContrast(result.B, Luminosity, Contrast, grey);
|
||||
|
|
Loading…
Reference in a new issue