Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reindent

  • Loading branch information...
commit 5593c595aa9c601f7d0013955b50bf4ac97742e0 1 parent c3d79ec
@katopz authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/de/nulldesign/nd2d/materials/AMaterial.as
View
10 src/de/nulldesign/nd2d/materials/AMaterial.as
@@ -67,11 +67,11 @@ package de.nulldesign.nd2d.materials {
protected var mVertexBuffer:Vector.<Number>;
protected var shaderData:Shader2D;
- protected var programConstVector:Vector.<Number> = new Vector.<Number>(4);
+ protected var programConstVector:Vector.<Number> = new Vector.<Number>(4);
public static const VERTEX_POSITION:String = "PB3D_POSITION";
public static const VERTEX_UV:String = "PB3D_UV";
- public static const VERTEX_COLOR:String = "PB3D_COLOR";
+ public static const VERTEX_COLOR:String = "PB3D_COLOR";
public function AMaterial() {
@@ -148,7 +148,7 @@ package de.nulldesign.nd2d.materials {
vertexBuffer.uploadFromVector(mVertexBuffer, 0, numIndices);
if(!indexBuffer) {
-
+
const mIndexBuffer_length:int = mIndexBuffer.length;
indexBuffer = context.createIndexBuffer(mIndexBuffer_length);
indexBuffer.uploadFromVector(mIndexBuffer, 0, mIndexBuffer_length);
@@ -230,10 +230,10 @@ package de.nulldesign.nd2d.materials {
buffer.push(0.0, 0.0);
}
- if(semanticsID == VERTEX_COLOR) {
+ if(semanticsID == VERTEX_COLOR) {
buffer.push(v.r, v.g, v.b);
- if(floatFormat == 4)
+ if(floatFormat == 4)
buffer.push(v.a);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.