Fix typos

This commit is contained in:
Wojtek Figat
2022-06-30 22:47:15 +02:00
parent de2d041e47
commit 85fe22d7a7
3 changed files with 3 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ namespace FlaxEditor.Surface
} }
/// <summary> /// <summary>
/// Called when context gets changed. Updates current context and UI. Updates the current context based on the first element in teh stack. /// Called when context gets changed. Updates current context and UI. Updates the current context based on the first element in the stack.
/// </summary> /// </summary>
protected virtual void OnContextChanged() protected virtual void OnContextChanged()
{ {

View File

@@ -415,7 +415,7 @@ public:
/// <param name="nodeId">The ID of the node in the script graph to evaluate it's box.</param> /// <param name="nodeId">The ID of the node in the script graph to evaluate it's box.</param>
/// <param name="boxId">The ID of the box in the node to evaluate it's value.</param> /// <param name="boxId">The ID of the box in the node to evaluate it's value.</param>
/// <param name="result">The output value. Valid only if method returned true.</param> /// <param name="result">The output value. Valid only if method returned true.</param>
/// <returns>True if could fetch teh value, otherwise false.</returns> /// <returns>True if could fetch the value, otherwise false.</returns>
static bool Evaluate(VisualScript* script, ScriptingObject* instance, uint32 nodeId, uint32 boxId, Variant& result); static bool Evaluate(VisualScript* script, ScriptingObject* instance, uint32 nodeId, uint32 boxId, Variant& result);
#endif #endif

View File

@@ -24,7 +24,7 @@ API_CLASS(Static) class FLAXENGINE_API LargeWorlds
/// <summary> /// <summary>
/// Updates the large world origin to match the input position. The origin is snapped to the best matching chunk location. /// Updates the large world origin to match the input position. The origin is snapped to the best matching chunk location.
/// </summary> /// </summary>
/// <param name="origin">The current origin of teh large world. Gets updated with the input position.</param> /// <param name="origin">The current origin of the large world. Gets updated with the input position.</param>
/// <param name="position">The current input position (eg. render view location or auto listener position).</param> /// <param name="position">The current input position (eg. render view location or auto listener position).</param>
/// <remarks>Used only if LargeWorlds::Enabled is true.</remarks> /// <remarks>Used only if LargeWorlds::Enabled is true.</remarks>
API_FUNCTION() static void UpdateOrigin(API_PARAM(Ref) Vector3& origin, const Vector3& position); API_FUNCTION() static void UpdateOrigin(API_PARAM(Ref) Vector3& origin, const Vector3& position);