diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 07:17:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 07:17:46 +0300 |
commit | e7fd6c8f30cd1161496831859da403eaa34fdf89 (patch) | |
tree | 20d91289ea01da6e8cf668ae057e8aad7ff85887 /intern | |
parent | 5ef4b0438cf4773e7dd8c661388bb2c3079869bf (diff) |
Cleanup: comment blocks
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_Context.h | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.h | 2 | ||||
-rw-r--r-- | intern/iksolver/extern/IK_solver.h | 40 | ||||
-rw-r--r-- | intern/string/STR_String.h | 8 |
5 files changed, 21 insertions, 33 deletions
diff --git a/intern/ghost/intern/GHOST_Context.h b/intern/ghost/intern/GHOST_Context.h index dec6deb946a..decafd10b75 100644 --- a/intern/ghost/intern/GHOST_Context.h +++ b/intern/ghost/intern/GHOST_Context.h @@ -118,7 +118,7 @@ public: return m_stereoVisual; } - /** Number of samples used in anti-aliasing, set to 0 if no AA **/ + /** Number of samples used in anti-aliasing, set to 0 if no AA */ inline GHOST_TUns16 getNumOfAASamples() const { return m_numOfAASamples; } diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 916e219fa97..b847cace57c 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -277,7 +277,7 @@ extern "C" int GHOST_HACK_getFirstFile(char buf[FIRSTFILEBUFLG]) /** * CocoaAppDelegate * ObjC object to capture applicationShouldTerminate, and send quit event - **/ + */ @interface CocoaAppDelegate : NSObject <NSApplicationDelegate> { GHOST_SystemCocoa *systemCocoa; diff --git a/intern/ghost/intern/GHOST_SystemWin32.h b/intern/ghost/intern/GHOST_SystemWin32.h index 48934feaeda..edf7c3fb695 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.h +++ b/intern/ghost/intern/GHOST_SystemWin32.h @@ -382,7 +382,7 @@ protected: /** Console status */ int m_consoleStatus; - /** Wheel delta accumulator **/ + /** Wheel delta accumulator */ int m_wheelDeltaAccum; }; diff --git a/intern/iksolver/extern/IK_solver.h b/intern/iksolver/extern/IK_solver.h index a1d36c024a3..9af6cc6988f 100644 --- a/intern/iksolver/extern/IK_solver.h +++ b/intern/iksolver/extern/IK_solver.h @@ -24,35 +24,32 @@ /** - - * Copyright (C) 2001 NaN Technologies B.V. - * * \page IK - Blender inverse kinematics module. * * \section about About the IK module * - * This module allows you to create segments and form them into - * tree. You can then define a goal points that the end of a given + * This module allows you to create segments and form them into + * tree. You can then define a goal points that the end of a given * segment should attempt to reach - an inverse kinematic problem. * This module will then modify the segments in the tree in order * to get the as near as possible to the goal. This solver uses an * inverse jacobian method to find a solution. - * + * * \section issues Known issues with this IK solver. * * - There is currently no support for joint constraints in the * solver. This is within the realms of possibility - please ask * if this functionality is required. * - The solver is slow, inverse jacobian methods in general give - * 'smooth' solutions and the method is also very flexible, it - * does not rely on specific angle parameterization and can be - * extended to deal with different joint types and joint - * constraints. However it is not suitable for real time use. + * 'smooth' solutions and the method is also very flexible, it + * does not rely on specific angle parameterization and can be + * extended to deal with different joint types and joint + * constraints. However it is not suitable for real time use. * Other algorithms exist which are more suitable for real-time - * applications, please ask if this functionality is required. - * + * applications, please ask if this functionality is required. + * * \section dependencies Dependencies - * + * * This module only depends on Moto. */ @@ -76,25 +73,25 @@ extern "C" { */ /** - * IK_Segment defines a single segment of an IK tree. + * IK_Segment defines a single segment of an IK tree. * - Individual segments are always defined in local coordinates. - * - The segment is assumed to be oriented in the local + * - The segment is assumed to be oriented in the local * y-direction. - * - start is the start of the segment relative to the end + * - start is the start of the segment relative to the end * of the parent segment. * - rest_basis is a column major matrix defineding the rest * position (w.r.t. which the limits are defined), must * be a pure rotation * - basis is a column major matrix defining the current change * from the rest basis, must be a pure rotation - * - length is the length of the bone. + * - length is the length of the bone. * * - basis_change and translation_change respectively define * the change in rotation or translation. basis_change is a * column major 3x3 matrix. * * The local transformation is then defined as: - * start * rest_basis * basis * basis_change * translation_change * translate(0,length,0) + * start * rest_basis * basis * basis_change * translation_change * translate(0,length,0) */ typedef void IK_Segment; @@ -130,16 +127,16 @@ extern void IK_GetTranslationChange(IK_Segment *seg, float *translation_change); /** * An IK_Solver must be created to be able to execute the solver. - * + * * An arbitray number of goals can be created, stating that a given * end effector must have a given position or rotation. If multiple * goals are specified, they can be weighted (range 0..1) to get * some control over their importance. - * + * * IK_Solve will execute the solver, that will run until either the * system converges, or a maximum number of iterations is reached. * It returns 1 if the system converged, 0 otherwise. - */ + */ typedef void IK_Solver; @@ -162,4 +159,3 @@ int IK_Solve(IK_Solver *solver, float tolerance, int max_iterations); #endif #endif // __IK_SOLVER_H__ - diff --git a/intern/string/STR_String.h b/intern/string/STR_String.h index 2afcd225fe5..27db035429c 100644 --- a/intern/string/STR_String.h +++ b/intern/string/STR_String.h @@ -21,14 +21,6 @@ * \ingroup string */ - -/** - - * Copyright (C) 2001 NaN Technologies B.V. - * This file was formerly known as: GEN_StdString.h. - * @date April, 25, 2001 - */ - #ifndef __STR_STRING_H__ #define __STR_STRING_H__ |