From 247b50d9a2bbf991d38d74cb3b51a1f939875678 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 15 Feb 2020 21:12:55 -0800 Subject: TraceLineThroughGrid: fixed a problem where end point of the line is missed due to floating point precision issues --- Graphics/GraphicsEngine/interface/DeviceContext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/DeviceContext.h b/Graphics/GraphicsEngine/interface/DeviceContext.h index 7df48815..79f8bd39 100644 --- a/Graphics/GraphicsEngine/interface/DeviceContext.h +++ b/Graphics/GraphicsEngine/interface/DeviceContext.h @@ -323,7 +323,7 @@ typedef struct DrawIndirectAttribs DrawIndirectAttribs; struct DrawIndexedIndirectAttribs { /// The type of the elements in the index buffer. - /// Allowed values: VT_UINT16 and VT_UINT32. Ignored if DrawAttribs::IsIndexed is False. + /// Allowed values: VT_UINT16 and VT_UINT32. VALUE_TYPE IndexType DEFAULT_INITIALIZER(VT_UNDEFINED); /// Additional flags, see Diligent::DRAW_FLAGS. @@ -557,7 +557,7 @@ typedef struct Rect Rect; struct CopyTextureAttribs { /// Source texture to copy data from. - ITexture* pSrcTexture DEFAULT_INITIALIZER(nullptr); + ITexture* pSrcTexture DEFAULT_INITIALIZER(nullptr); /// Mip level of the source texture to copy data from. Uint32 SrcMipLevel DEFAULT_INITIALIZER(0); -- cgit v1.2.3