void njCnkSetWireR( r )
Float r
r 線幅
なし
ワイヤーフレームの線幅を設定します。 0.5で1ドットの幅になります。
Sint32 UserInit(void) { njCnkSetWireR( 0.5f ); return USER_CONTINUE; } Sint32 UserMain(void) { njPushMatrixEx(); njTranslate( NULL, 0.f, 0.f, -10.f ); njRotateXYZ( NULL, xx,yy,zz ); njCnkWireDrawObject( object ); xx += 257; yy += 179; zz += 193; njPopMatrixEx(); return USER_CONTINUE; }
0.5より小さい値を設定すると、線が途切れることがあります。
njCnkWireDrawModel() CHUNKモデルのワイヤーフレーム描画 njCnkWireDrawObject() CHUNKオブジェクトのワイヤーフレーム描画