DX旋转2D图像

时间:2019-02-11 19:59:22

标签: c++ math directx-11

我发现了一些可以使用DX11绘制任何图像的东西,因此我需要围绕该图像的中心旋转该图像,但是我的数学运算很糟糕:)。

  this.componentConfig = {
      iconFiletypes: ['.jpg', '.png', '.gif'],
      showFiletypeIcon: true,
      postUrl: `${getBaseUrl()}/Controller/ImportImage`,
      headers: {
        'Authorization': 'Bearer'
      },
    };


  <DropzoneComponent config={config} eventHandlers={eventHandlers} djsConfig={djsConfig}> </DropzoneComponent>

据我了解,我需要4个点来执行此操作,但是点结构应包含x和y轴,并且此函数仅具有x,y,w,h的形式,对此我有点困惑。有人可以帮助我。

0 个答案:

没有答案
相关问题