vagran / dxf-viewer-example-src

Source for dxf-viewer-example GitHub pages repository
MIT License
47 stars 27 forks source link

The background-color is not showed correctly #3

Closed LIKEADOGANDCAT closed 3 years ago

LIKEADOGANDCAT commented 3 years ago

I used the code

import * as three from "three"

.. clearColor: new three.Color("#fff")

but it doesn't work at all ,the canvas I got is full of black. Does it have something to do with DxfViewerWorker?? I didn't import it.

LIKEADOGANDCAT commented 3 years ago

I changed the default color ,fixed. :)