Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions ShapeKernel/Modulations/LineModulation(1D).cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// specifically for use in Computational Engineering Models (CEM).
//
// For more information, please visit https://leap71.com/shapekernel
//
//
// This project is developed and maintained by LEAP 71 - © 2024 by LEAP 71
// https://leap71.com
//
Expand All @@ -15,8 +15,8 @@
// We have developed this library to be used widely, for both commercial and
// non-commercial projects alike. Therefore, have released it under a permissive
// open-source license.
//
// The LEAP 71 ShapeKernel is based on the PicoGK compact computational geometry
//
// The LEAP 71 ShapeKernel is based on the PicoGK compact computational geometry
// framework. See https://picogk.org for more information.
//
// LEAP 71 licenses this file to you under the Apache License, Version 2.0
Expand All @@ -29,7 +29,7 @@
// PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.
//
// See the License for the specific language governing permissions and
// limitations under the License.
// limitations under the License.
//


Expand Down Expand Up @@ -150,7 +150,7 @@ protected float oPointsDummyFunc(float fRatio)
fCurrentRatio = m_aDiscretePoints[i].Z;
fNextRatio = m_aDiscretePoints[i + 1].Z;
}
if (fCurrentRatio >= fRatio)
if (fNextRatio >= fRatio)
{
fLowerRatio = fCurrentRatio;
dS = fRatio - fLowerRatio;
Expand Down Expand Up @@ -289,7 +289,7 @@ protected class ModulationMultiplication
{
protected float m_fFactor;
protected LineModulation m_oMod;


protected ModulationMultiplication( float fFactor,
LineModulation oMod)
Expand Down