IAP GITLAB
Changes
Page history
Update Coding Conventions and Guidelines
authored
Nov 05, 2020
by
Ralf Ulrich
Show whitespace changes
Inline
Side-by-side
Coding-Conventions-and-Guidelines.md
View page @
dfd4bc05
...
@@ -307,6 +307,11 @@ warning using the flag ```"FIXME"``` as keyword.
...
@@ -307,6 +307,11 @@ warning using the flag ```"FIXME"``` as keyword.
```
```
and not
and not
```
```
/**
* Here we have a length comment on the purpose of this function TimeOfIntersection to explain that
* it calculated the "time of intersection" and all the strange symbols and conventions used here.
* Such a comment only bloats the code, and provides not further information compared to the code above.
**/
TimeType TimeOfIntersection(Line const& l, Plane const& p) {
TimeType TimeOfIntersection(Line const& l, Plane const& p) {
auto const d = p.GetCenter() - l.GetR0();
auto const d = p.GetCenter() - l.GetR0();
auto const v = l.GetV0();
auto const v = l.GetV0();
...
...
...
...