double not operator
min: 6.25000 avg: 8.41969 max: 11.04000 ops/second: 123,911,231
or operator
min: 7.30000 avg: 9.52969 max: 10.75000 ops/second: 107,329,250
signed right shift operator
min: 7.07500 avg: 10.00412 max: 10.79500 ops/second: 101,645,033
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as THREE from 'three'; | |
const scene = new THREE.Scene(); | |
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000); | |
const geometry = new THREE.BoxGeometry(); | |
const material = new THREE.MeshBasicMaterial({ color: 0x00ff00 }); | |
const cube = new THREE.Mesh(geometry, material); | |
let renderer; | |
scene.add(cube); | |
camera.position.z = 5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body { | |
width: 100%; | |
height: 100%; | |
margin: 0; | |
padding: 0 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import { onMount } from 'svelte'; | |
import { createScene } from "./scene"; | |
let el; | |
onMount(() => { | |
createScene(el) | |
}); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import { onMount } from 'svelte'; | |
import { createScene } from "./scene"; | |
let el; | |
onMount(() => { | |
createScene(el) | |
}); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let noiseTexture = SKTexture(noiseWithSmoothness: 1.1, | |
size: CGSize(width: 1024, height: 768), | |
grayscale: false) | |
let noiseSprite = SKSpriteNode(texture: noiseTexture) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules | |
build | |
dist | |
docs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.AspNetCore.Identity; | |
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; | |
using Microsoft.EntityFrameworkCore; | |
public class ApplicationDbContext : IdentityDbContext | |
{ | |
// ... | |
protected override void OnModelCreating(ModelBuilder builder) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0'?> | |
<font> | |
<info aa='1' size='180' smooth='1' stretchH='100' bold='0' padding='0,0,0,0' spacing='0,0' charset='' italic='0' unicode='0' face='Eurostile'/> | |
<common scaleW='1216' packed='0' pages='1' lineHeight='180' scaleH='1152' base='121'/> | |
<pages> | |
<page id='0' file='Eurostile.png'/> | |
</pages> | |
<chars count='95'> | |
<char xadvance='45' x='1160' chnl='0' yoffset='121' y='118' xoffset='0' id='32' page='0' height='0' width='0'/> | |
<char xadvance='56' x='158' chnl='0' yoffset='-1' y='580' xoffset='14' id='33' page='0' height='124' width='32'/> |