f1shel / Asuna

Asuna is a path tracer base on vulkan ray tracing pipeline with NVIDIA card.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nvmath在linux下的编译有问题

f1shel opened this issue · comments

typedef struct {
  mat4 ext{0.0};
  mat4 envTransform{nvmath::mat4f_id};
  State state;
} CameraShot;

to

typedef struct {
  mat4 ext{0};
  mat4 envTransform{nvmath::mat4f_id};
  State state;
} CameraShot;
protected:
  CameraType m_type{CameraTypeUndefined};
  mat4 m_view{0.0f};  // world to camera space transformation
  VkExtent2D m_size{0, 0};
  mat4 m_envTransform{nvmath::mat4f_id};

to

protected:
  CameraType m_type{CameraTypeUndefined};
  mat4 m_view{0};  // world to camera space transformation
  VkExtent2D m_size{0, 0};
  mat4 m_envTransform{nvmath::mat4f_id};