rust/lib-hedgewars-engine/src/render.rs
author nemo
Thu, 13 Dec 2018 09:50:24 -0500
changeset 14419 b33d1c694b1d
parent 14335 97be4f6bf264
child 14703 81030dcbd2d8
permissions -rw-r--r--
dumbest pas2c fix ever?
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14335
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     1
use gfx::{
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     2
    format,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     3
    ConstantBuffer,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     4
    DepthTarget,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     5
    RenderTarget,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     6
    TextureSampler,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     7
    VertexBuffer,
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     8
};
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
     9
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    10
struct Camera {
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    11
    pos: [f32; 2]
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    12
}
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    13
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    14
fn render() {
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    15
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    16
}
97be4f6bf264 add render module 🦔
alfadur
parents:
diff changeset
    17