added comments to get a proper commit in

This commit is contained in:
Frank Noirot
2021-03-04 23:34:19 -05:00
parent 661797b9a3
commit fe8cc63c3b
2 changed files with 3 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ export const render = async ({ code, settings }) => {
resolve({
objectData: {
type: 'stl',
data: ((Math.random() * 256 + 1) >>> 0).toString(2),
data: ((Math.random() * 256 + 1) >>> 0).toString(2), // Randomized 8-bit numbers for funzies
},
message: {
type: 'message',

View File

@@ -6,7 +6,7 @@ export const render = async ({ code, settings }) => {
resolve({
objectData: {
type: 'jpg',
data: ((Math.random() * 256 + 1) >>> 0).toString(2),
data: ((Math.random() * 256 + 1) >>> 0).toString(2), // Randomized 8-bit numbers for funzies
},
message: {
type: 'message',
@@ -28,6 +28,7 @@ export const render = async ({ code, settings }) => {
const openScad = {
render,
// more functions to come
}
export default openScad