mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-06-05 04:24:31 -04:00
18 lines
630 B
C++
18 lines
630 B
C++
/*---------------------------------------------------------*\
|
|
| MathUtils.h |
|
|
| |
|
|
| Math utility functions |
|
|
| |
|
|
| This file is part of the OpenRGB project |
|
|
| SPDX-License-Identifier: GPL-2.0-or-later |
|
|
\*---------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
class MathUtils
|
|
{
|
|
public:
|
|
static int IntInterpolate(int y0, int y1, int x0, int x1, int x);
|
|
}; |