本文整理了Java中org.lwjglb.engine.graph.Transformation.buildModelViewMatrix()
方法的一些代码示例,展示了Transformation.buildModelViewMatrix()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Transformation.buildModelViewMatrix()
方法的具体详情如下:
包路径:org.lwjglb.engine.graph.Transformation
类名称:Transformation
方法名:buildModelViewMatrix
暂无
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelLightViewMatrix(GameItem gameItem, Matrix4f lightViewMatrix) {
return buildModelViewMatrix(buildModelMatrix(gameItem), lightViewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
Vector3f rotation = gameItem.getRotation();
modelMatrix.identity().translate(gameItem.getPosition()).
rotateX((float)Math.toRadians(-rotation.x)).
rotateY((float)Math.toRadians(-rotation.y)).
rotateZ((float)Math.toRadians(-rotation.z)).
scale(gameItem.getScale());
return buildModelViewMatrix(modelMatrix, viewMatrix);
}
代码示例来源:origin: lwjglgamedev/lwjglbook
public Matrix4f buildModelViewMatrix(GameItem gameItem, Matrix4f viewMatrix) {
Vector3f rotation = gameItem.getRotation();
modelMatrix.identity().translate(gameItem.getPosition()).
rotateX((float)Math.toRadians(-rotation.x)).
rotateY((float)Math.toRadians(-rotation.y)).
rotateZ((float)Math.toRadians(-rotation.z)).
scale(gameItem.getScale());
return buildModelViewMatrix(modelMatrix, viewMatrix);
}
内容来源于网络,如有侵权,请联系作者删除!