Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@3dnest/wall-material-e100

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@3dnest/wall-material-e100 - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

package.json
{
"name": "@3dnest/wall-material-e100",
"version": "0.0.3",
"version": "0.0.4",
"description": "> TODO: description",

@@ -30,3 +30,3 @@ "author": "zhangsen <zhangsen@3dnest.cn>",

},
"gitHead": "41ce8bb36100d6511ce01e53da3cad1319b1fed2"
"gitHead": "82c788d9e872123f2257977bd61e07276c158418"
}

@@ -5,5 +5,4 @@ import { LINE_WIDTH, ALPHA } from '../constant.js';

export const BoilerWindow = (graphics, context) => {
const { width, scale, sillThickness = 500 / scale, height } = context;
const { width, height, scale, sillThickness = 500 / scale, windowThickness = 240 / scale} = context;
const lineWidth = LINE_WIDTH / scale;
const windowThickness = height;
const color = getColors(context);

@@ -14,13 +13,13 @@

.lineStyle(lineWidth, color.line)
.drawRect(0, -(sillThickness + windowThickness - height), width, sillThickness + windowThickness)
.drawRect(0, -(sillThickness + windowThickness), width, sillThickness + windowThickness + height)
// .drawRect(windowThickness / 2, -(sillThickness + windowThickness / 2), width + windowThickness , sillThickness + windowThickness / 2)
.drawRect(windowThickness, -(sillThickness - height), width - windowThickness * 2, sillThickness)
.drawRect(windowThickness, -sillThickness, width - windowThickness * 2, sillThickness + height)
.endFill()
.lineStyle(lineWidth * 2, color.line)
.moveTo(width / 2, -(sillThickness + windowThickness - height))
.lineTo(width / 2, -(sillThickness - height))
.moveTo(width / 2, -(sillThickness + windowThickness))
.lineTo(width / 2, -(sillThickness))
.lineStyle(lineWidth * 3, color.line)
.moveTo(windowThickness / 2, height)
.lineTo(windowThickness / 2, -(sillThickness + windowThickness / 2 - height))
.lineTo(width - windowThickness / 2, -(sillThickness + windowThickness / 2 - height))
.lineTo(windowThickness / 2, -(sillThickness + windowThickness / 2))
.lineTo(width - windowThickness / 2, -(sillThickness + windowThickness / 2))
.lineTo(width - windowThickness / 2, height);

@@ -27,0 +26,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc