Exporting some Glsl utility functions due to linking issues. (#1044)
This commit is contained in:
parent
c78c8106da
commit
b61502b69a
@ -27,8 +27,8 @@
|
||||
/// \brief Helper functions to copy sf::Transform to sf::Glsl::Mat3/4
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void copyMatrix(const Transform& source, Matrix<3, 3>& dest);
|
||||
void copyMatrix(const Transform& source, Matrix<4, 4>& dest);
|
||||
void SFML_GRAPHICS_API copyMatrix(const Transform& source, Matrix<3, 3>& dest);
|
||||
void SFML_GRAPHICS_API copyMatrix(const Transform& source, Matrix<4, 4>& dest);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Copy array-based matrix with given number of elements
|
||||
@ -37,14 +37,14 @@ void copyMatrix(const Transform& source, Matrix<4, 4>& dest);
|
||||
/// <algorithm> and MSVC's annoying 4996 warning in header
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void copyMatrix(const float* source, std::size_t elements, float* dest);
|
||||
void SFML_GRAPHICS_API copyMatrix(const float* source, std::size_t elements, float* dest);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Helper functions to copy sf::Color to sf::Glsl::Vec4/Ivec4
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void copyVector(const Color& source, Vector4<float>& dest);
|
||||
void copyVector(const Color& source, Vector4<int>& dest);
|
||||
void SFML_GRAPHICS_API copyVector(const Color& source, Vector4<float>& dest);
|
||||
void SFML_GRAPHICS_API copyVector(const Color& source, Vector4<int>& dest);
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user