Fix Windows build

This commit is contained in:
Romain Guy
2020-06-26 23:20:23 -07:00
parent 132e94b3bb
commit 2aeb33b260
2 changed files with 7 additions and 7 deletions

View File

@@ -348,17 +348,17 @@ public class View {
* Options to control the vignetting effect.
*/
public static class VignetteOptions {
/**
* Controls the shape of the vignette, from a rounded rectangle (0.0), to an oval (0.5),
* to a circle (1.0). The value must be between 0 and 1.
*/
public float roundness = 0.5f;
/**
* High values restrict the vignette closer to the corners, between 0 and 1.
*/
public float midPoint = 0.5f;
/**
* Controls the shape of the vignette, from a rounded rectangle (0.0), to an oval (0.5),
* to a circle (1.0). The value must be between 0 and 1.
*/
public float roundness = 0.5f;
/**
* Softening amount of the vignette effect, between 0 and 1.
*/

View File

@@ -180,8 +180,8 @@ public:
* Options to control the vignetting effect.
*/
struct VignetteOptions {
float roundness = 0.5f; //!< controls the shape of the vignette, from a rounded rectangle (0.0), to an oval (0.5), to a circle (1.0)
float midPoint = 0.5f; //!< high values restrict the vignette closer to the corners, between 0 and 1
float roundness = 0.5f; //!< controls the shape of the vignette, from a rounded rectangle (0.0), to an oval (0.5), to a circle (1.0)
float feather = 0.5f; //!< softening amount of the vignette effect, between 0 and 1
LinearColorA color{0.0f, 0.0f, 0.0f, 1.0f}; //!< color of the vignette effect, alpha is currently ignored
bool enabled = false; //!< enables or disables the vignette effect