From 2d77093398756559bcc8d467881595fc5e21d715 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 6 Jan 2022 12:52:10 +0100 Subject: [PATCH] gobj: Fix TexturePeeker docstrings for filter_* being incorrect about wrapping Fixes #1195 --- panda/src/gobj/texturePeeker.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/gobj/texturePeeker.cxx b/panda/src/gobj/texturePeeker.cxx index b531e04bff..997d44e182 100644 --- a/panda/src/gobj/texturePeeker.cxx +++ b/panda/src/gobj/texturePeeker.cxx @@ -436,7 +436,7 @@ lookup_bilinear(LColor &color, PN_stdfloat u, PN_stdfloat v) const { * rectangle defined by the specified coordinate range. * * The texel color is linearly filtered over the entire region. u, v, and w - * will wrap around regardless of the texture's wrap mode. + * must be in the range [0, 1]. */ void TexturePeeker:: filter_rect(LColor &color, @@ -464,7 +464,7 @@ filter_rect(LColor &color, * rectangle defined by the specified coordinate range. * * The texel color is linearly filtered over the entire region. u, v, and w - * will wrap around regardless of the texture's wrap mode. + * must be in the range [0, 1]. */ void TexturePeeker:: filter_rect(LColor &color,