mirror of
https://github.com/esimov/pigo-wasm-demos.git
synced 2025-09-26 20:31:20 +08:00
wasm: updated parameters to latest Triangle version
This commit is contained in:
@@ -129,9 +129,9 @@ func NewCanvas() *Canvas {
|
||||
PointsThreshold: c.pointsThreshold,
|
||||
Wireframe: c.wireframe,
|
||||
StrokeWidth: c.strokeWidth,
|
||||
IsSolid: c.isSolid,
|
||||
IsStrokeSolid: c.isSolid,
|
||||
Grayscale: c.isGrayScaled,
|
||||
BackgroundColor: "#ffffff00",
|
||||
BgColor: "#ffffff00",
|
||||
}
|
||||
c.triangle = &triangle.Image{*c.processor}
|
||||
return &c
|
||||
|
@@ -98,9 +98,9 @@ func NewCanvas() *Canvas {
|
||||
PointsThreshold: c.pointsThreshold,
|
||||
Wireframe: c.wireframe,
|
||||
StrokeWidth: c.strokeWidth,
|
||||
IsSolid: c.isSolid,
|
||||
IsStrokeSolid: c.isSolid,
|
||||
Grayscale: c.isGrayScaled,
|
||||
BackgroundColor: "#ffffff00",
|
||||
BgColor: "#ffffff00",
|
||||
}
|
||||
c.triangle = &triangle.Image{*c.processor}
|
||||
return &c
|
||||
|
Reference in New Issue
Block a user