Skip to content

Instantly share code, notes, and snippets.

@cyberj
cyberj / mesh.rs
Last active October 10, 2019 07:46
Trying to make a transparent plane in amethyst
// .with_bundle(
// RenderingBundle::<DefaultBackend>::new()
// // The RenderToWindow plugin provides all the scaffolding for opening a window and drawing on it
// .with_plugin(
// RenderToWindow::from_config_path(display_config_path)
// .with_clear([0.0, 0.0, 0.0, 1.0]),
// ) // RenderFlat2D plugin is used to render entities with `SpriteRender` component.
// .with_plugin(RenderFlat2D::default())
// .with_plugin(RenderUi::default())
// .with_plugin(RenderDebugLines::default())
use amethyst::{
renderer::{camera::Projection, Camera},
window::ScreenDimensions,
};
use amethyst::core::{Time, Transform};
use amethyst::ecs::{Join, Read, ReadExpect, ReadStorage, System, WriteStorage};
use crate::components::camera_subject::CameraSubject;
VUEJS
<div id="app-6">
<p>{{ message }}</p>
<input v-model="message">
</div>
var app6 = new Vue({
el: '#app-6',
data: {
message: 'Hello Vue!'

Keybase proof

I hereby claim:

  • I am cyberj on github.
  • I am cyberj (https://keybase.io/cyberj) on keybase.
  • I have a public key ASCoPZCpqOdxpeW_NY9xdegQFcE2vzMLoZvvTvTan-rcRAo

To claim this, I am signing this object: