rust/lib-hedgewars-engine/src/render.rs
author raptor <buckyballreaction@gmail.com>
Tue, 13 Aug 2019 13:20:28 -0600
branch0.9.25
changeset 15337 9a545985360b
parent 14340 97be4f6bf264
child 14708 81030dcbd2d8
permissions -rw-r--r--
Remove usage of macdeployqt in favor of CMake BundleUtilities. BundleUtilities properly finds all dependencies and adds them to the .app automatically. It also fixes rpath and install_name issues for any of the binaries or dependencies
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14340
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