mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibGfx+LibPDF: Make sample() functions take ReadonlySpan<>
...instead of Vector<>. No behavior (or performance) change.
This commit is contained in:
parent
a352099b05
commit
9fc47345ce
2 changed files with 6 additions and 6 deletions
|
@ -28,7 +28,7 @@ public:
|
|||
private:
|
||||
SampledFunction(NonnullRefPtr<StreamObject>);
|
||||
|
||||
float sample(Vector<int> const& coordinates, size_t r) const
|
||||
float sample(ReadonlySpan<int> const& coordinates, size_t r) const
|
||||
{
|
||||
// "For a function with multidimensional input (more than one input variable),
|
||||
// the sample values in the first dimension vary fastest,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue